Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.328/1.328, allocations: 154.6 MB / 414.1 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.012e-05, allocations: 5.266 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002471/0.002501, allocations: 1.278 MB / 0.5209 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003589, allocations: 0.5415 MB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.00361, allocations: 0 / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.003627, allocations: 3.938 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.003677, allocations: 7.922 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.004197, allocations: 137.5 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.004244, allocations: 15.94 kB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.942e-05/0.004274, allocations: 0 / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.00431, allocations: 9.328 kB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.00435, allocations: 0 / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.004365, allocations: 7.938 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.00485, allocations: 271.4 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.004862, allocations: 0.5312 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.004882, allocations: 11.31 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.005169, allocations: 143.6 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005172, allocations: 0 / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005173, allocations: 0 / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005176, allocations: 0 / 0.522 GB, free: 156 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000493/0.005669, allocations: 379.9 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.005705, allocations: 12.03 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.005743, allocations: 0.9375 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.005859, allocations: 108.6 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.005873, allocations: 4.875 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.00588, allocations: 384 / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.005974, allocations: 38.81 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.005982, allocations: 1.062 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.005989, allocations: 384 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.005992, allocations: 1.844 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.006021, allocations: 7.938 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.006181, allocations: 108.6 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.006256, allocations: 39.95 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.006284, allocations: 15.75 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.006304, allocations: 0 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.006336, allocations: 34.52 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.006337, allocations: 0 / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.006496, allocations: 47.09 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.00654, allocations: 51.41 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.006672, allocations: 161.9 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.006691, allocations: 26.52 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.006758, allocations: 130.9 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.006779, allocations: 6.609 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.00692, allocations: 23.31 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.007157, allocations: 492.1 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.007175, allocations: 8 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.007186, allocations: 3.984 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.007218, allocations: 15.69 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00722, allocations: 2.75 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.052e-05/0.00729, allocations: 37.7 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007303, allocations: 4 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007307, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.007322, allocations: 7.938 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.007472, allocations: 15.92 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.008088, allocations: 0.8942 MB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.008109, allocations: 3.938 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.008113, allocations: 0.9375 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.008221, allocations: 157.5 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.008232, allocations: 3.938 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.008345, allocations: 49.59 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.008349, allocations: 5.344 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.008354, allocations: 4 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008357, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.008478, allocations: 116.6 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008479, allocations: 2.438 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.008557, allocations: 8 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.008564, allocations: 7.984 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.008572, allocations: 3.938 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005414/0.009113, allocations: 0.8933 MB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009114, allocations: 2.906 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.009215, allocations: 80.33 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.009225, allocations: 7.969 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.009235, allocations: 0 / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.009249, allocations: 4 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.009267, allocations: 0 / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.00927, allocations: 0 / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.009342, allocations: 127.8 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009342, allocations: 1.312 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001948/0.009537, allocations: 4 kB / 0.526 GB, free: 11.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.009724, allocations: 115 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.0099, allocations: 23.67 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009902, allocations: 0 / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01001, allocations: 31.61 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.01014, allocations: 4.875 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.01048, allocations: 110.3 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.01055, allocations: 62.39 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.01056, allocations: 3.984 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.01058, allocations: 8.5 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01058, allocations: 0 / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.003186/0.01377, allocations: 480.4 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.977999145979993]