Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.001031/0.001031, allocations: 93.06 kB / 19.65 MB, free: 280 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.001006/0.001006, allocations: 169 kB / 23.02 MB, free: 1.551 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7632/0.7632, allocations: 154.9 MB / 414.8 MB, free: 416 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 0.5207 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.282e-05, allocations: 8.453 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001087/0.00111, allocations: 0.532 MB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.001274, allocations: 40.58 kB / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.001329, allocations: 0 / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.001369, allocations: 0.6875 kB / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.001533, allocations: 8.719 kB / 0.5212 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.599e-05/0.001589, allocations: 15.86 kB / 0.5212 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.00165, allocations: 9.25 kB / 0.5213 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.001695, allocations: 0 / 0.5213 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.001759, allocations: 11.92 kB / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.001847, allocations: 16.47 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.001867, allocations: 1 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.001876, allocations: 4 kB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.001929, allocations: 0 / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.001962, allocations: 5.219 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.546e-05/0.002038, allocations: 11.92 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00204, allocations: 0 / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00204, allocations: 0.5 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.002044, allocations: 1.781 kB / 0.5213 GB, free: 1.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003328/0.002377, allocations: 356.7 kB / 0.5216 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.00242, allocations: 8.031 kB / 0.5216 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.002459, allocations: 8.922 kB / 0.5217 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.002593, allocations: 116.6 kB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.0026, allocations: 2.094 kB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.002622, allocations: 8.312 kB / 0.5218 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/0.00269, allocations: 30.25 kB / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.002695, allocations: 192 / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.002704, allocations: 1.938 kB / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.00271, allocations: 384 / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.203e-05/0.002722, allocations: 7.938 kB / 0.5218 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.002842, allocations: 116.7 kB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.002878, allocations: 23.81 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.002901, allocations: 17.08 kB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.002923, allocations: 4.062 kB / 0.522 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.002946, allocations: 33.39 kB / 0.522 GB, free: 396 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.002947, allocations: 0 / 0.522 GB, free: 396 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.003077, allocations: 35.05 kB / 0.522 GB, free: 356 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.003108, allocations: 55.41 kB / 0.5221 GB, free: 288 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.003189, allocations: 169.9 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.003198, allocations: 26.61 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.003248, allocations: 126.9 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.003272, allocations: 10.94 kB / 0.5224 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.003299, allocations: 27.36 kB / 0.5224 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.003408, allocations: 492.1 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.003417, allocations: 8.188 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.003436, allocations: 19.38 kB / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.00347, allocations: 27.38 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.003472, allocations: 0.5625 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.051e-05/0.003522, allocations: 46.12 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.003534, allocations: 4.781 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.003539, allocations: 0 / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.003551, allocations: 4.562 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.003616, allocations: 8 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.003621, allocations: 1.469 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.003638, allocations: 11.86 kB / 0.523 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.003644, allocations: 0 / 0.523 GB, free: 15.25 MB / 0.4948 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 6.139e-05/0.003705, allocations: 157.5 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-06/0.00371, allocations: 0 / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.003786, allocations: 52 kB / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.003788, allocations: 0 / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.003791, allocations: 0 / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.003797, allocations: 3.938 kB / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.704e-05/0.003864, allocations: 116.6 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.003865, allocations: 4 kB / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.003902, allocations: 0 / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.003904, allocations: 0 / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.003915, allocations: 6.75 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.003916, allocations: 0 / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.003917, allocations: 0 / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.004006, allocations: 88.27 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.004026, allocations: 4 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.004035, allocations: 0 / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-06/0.004045, allocations: 3.984 kB / 0.5234 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.00406, allocations: 0.625 kB / 0.5234 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.004063, allocations: 5.219 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.004101, allocations: 127.2 kB / 0.5236 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004101, allocations: 0 / 0.5236 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001163/0.004218, allocations: 7.938 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 6.422e-05/0.004282, allocations: 97.61 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/0.004347, allocations: 11.69 kB / 0.5237 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.004349, allocations: 0 / 0.5237 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.00436, allocations: 18.06 kB / 0.5237 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.004467, allocations: 8.188 kB / 0.5237 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.004682, allocations: 115.7 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.004711, allocations: 59.28 kB / 0.5239 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.206e-05/0.004723, allocations: 4 kB / 0.5239 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.004748, allocations: 15.03 kB / 0.5239 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.004748, allocations: 0 / 0.5239 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.001737/0.006485, allocations: 359.8 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6697833659127355]