Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.001973/0.001973, 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.002157/0.002157, 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.547 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.392/1.392, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.9844 kB / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.111e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001631/0.001662, allocations: 0.5139 MB / 0.5201 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.001798, allocations: 19.92 kB / 0.5201 GB, free: 2.086 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.001824, allocations: 0.9688 kB / 0.5201 GB, free: 2.086 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.001836, allocations: 0 / 0.5201 GB, free: 2.086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.001995, allocations: 12.92 kB / 0.5201 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.001998, allocations: 0 / 0.5201 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.002052, allocations: 4 kB / 0.5201 GB, free: 2.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.0021, allocations: 0.9688 kB / 0.5201 GB, free: 2.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.002155, allocations: 4 kB / 0.5202 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.002188, allocations: 1.75 kB / 0.5202 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.002202, allocations: 0 / 0.5202 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-06/0.002209, allocations: 0 / 0.5202 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.002218, allocations: 3.938 kB / 0.5202 GB, free: 2.062 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.002236, allocations: 7.984 kB / 0.5202 GB, free: 2.055 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.727e-05/0.002283, allocations: 4.547 kB / 0.5202 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002285, allocations: 1.031 kB / 0.5202 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002286, allocations: 0 / 0.5202 GB, free: 2.051 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.002289, allocations: 0 / 0.5202 GB, free: 2.051 MB / 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.0003645/0.002654, allocations: 341.6 kB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.002689, allocations: 12.03 kB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.002722, allocations: 0.9375 kB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.002831, allocations: 113.2 kB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.002842, allocations: 384 / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.002849, allocations: 2 kB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.002964, allocations: 53.58 kB / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.002972, allocations: 192 / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.002981, allocations: 384 / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.002985, allocations: 1.531 kB / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.003019, allocations: 7.938 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.003188, allocations: 124.3 kB / 0.5208 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.003273, allocations: 55 kB / 0.5208 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.003303, allocations: 16.59 kB / 0.5209 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.003328, allocations: 4.062 kB / 0.5209 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.003363, allocations: 37.39 kB / 0.5209 GB, free: 1.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.003364, allocations: 0.7188 kB / 0.5209 GB, free: 1.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.003525, allocations: 50.19 kB / 0.521 GB, free: 1.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.00359, allocations: 82.05 kB / 0.521 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.003706, allocations: 157.9 kB / 0.5212 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.003725, allocations: 26.33 kB / 0.5212 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.003792, allocations: 130.9 kB / 0.5213 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.003817, allocations: 4.703 kB / 0.5213 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.003852, allocations: 19.38 kB / 0.5214 GB, free: 0.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.004113, allocations: 0.4915 MB / 0.5218 GB, free: 128 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.004124, allocations: 0 / 0.5218 GB, free: 128 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.004151, allocations: 19.38 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.00419, allocations: 23.38 kB / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.004192, allocations: 0 / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.529e-05/0.004267, allocations: 50.53 kB / 0.5219 GB, free: 12 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.004281, allocations: 4 kB / 0.5219 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.004285, allocations: 0 / 0.5219 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.004299, allocations: 0.5312 kB / 0.5219 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.004365, allocations: 4.938 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00437, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.004411, allocations: 8.141 kB / 0.5219 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.004417, allocations: 1.594 kB / 0.5219 GB, free: 15.99 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.004527, allocations: 156.5 kB / 0.5221 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.00454, allocations: 11.95 kB / 0.5221 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.004651, allocations: 45.66 kB / 0.5221 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004652, allocations: 1.75 kB / 0.5221 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.004661, allocations: 7.984 kB / 0.5222 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.004664, allocations: 0 / 0.5222 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.004768, allocations: 108.6 kB / 0.5223 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.004772, allocations: 7.938 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.004793, allocations: 1.5 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.0048, allocations: 7.984 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.004806, allocations: 0 / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.004808, allocations: 0 / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004808, allocations: 2.75 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.004929, allocations: 88.06 kB / 0.5224 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.004955, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.004969, allocations: 4 kB / 0.5224 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.004986, allocations: 7.922 kB / 0.5224 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.005006, allocations: 3.938 kB / 0.5224 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.005008, allocations: 2.156 kB / 0.5224 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.005073, allocations: 123.2 kB / 0.5225 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.005073, allocations: 0 / 0.5225 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001705/0.005244, allocations: 7.938 kB / 0.5225 GB, free: 15.35 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001042/0.005348, allocations: 92.16 kB / 0.5226 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.005432, allocations: 20.42 kB / 0.5226 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005434, allocations: 0 / 0.5226 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.005456, allocations: 16.28 kB / 0.5226 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.005583, allocations: 3.375 kB / 0.5226 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.005839, allocations: 106.1 kB / 0.5227 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.005897, allocations: 59.34 kB / 0.5228 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.005912, allocations: 0 / 0.5228 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.005936, allocations: 8.5 kB / 0.5228 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of SimCode: time 4.11e-07/0.005937, allocations: 0 / 0.5228 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of Templates: time 0.002421/0.008357, allocations: 220.7 kB / 0.523 GB, free: 14.78 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.985174644971266]