Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001036/0.001036, allocations: 92.22 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.0009646/0.0009646, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9372/0.9372, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7585/0.7585, allocations: 154.6 MB / 414.5 MB, free: 0.625 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 179] 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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.018e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001206/0.001226, allocations: 0.524 MB / 0.5208 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.001356, allocations: 39.81 kB / 0.5209 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.001391, allocations: 0 / 0.5209 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.001422, allocations: 0 / 0.5209 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.001526, allocations: 9.938 kB / 0.5209 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.033e-05/0.001567, allocations: 12.97 kB / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.001611, allocations: 11.92 kB / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.73e-05/0.001638, allocations: 7.984 kB / 0.5209 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.001679, allocations: 1.344 kB / 0.5209 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.001732, allocations: 19.92 kB / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.001745, allocations: 0 / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.001751, allocations: 0 / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.001785, allocations: 4.781 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.001801, allocations: 0 / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.457e-05/0.001856, allocations: 13.25 kB / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.001858, allocations: 0 / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.001858, allocations: 0 / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.001862, allocations: 6.625 kB / 0.5209 GB, free: 1.582 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.0002995/0.002161, allocations: 356.6 kB / 0.5213 GB, free: 1.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.002191, allocations: 12.03 kB / 0.5213 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.002213, allocations: 4.875 kB / 0.5213 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.002321, allocations: 120.5 kB / 0.5214 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-06/0.002328, allocations: 384 / 0.5214 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.002345, allocations: 4.375 kB / 0.5214 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.718e-05/0.002402, allocations: 34.73 kB / 0.5214 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.002409, allocations: 9.594 kB / 0.5215 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.002416, allocations: 384 / 0.5215 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.002422, allocations: 384 / 0.5215 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.045e-05/0.002432, allocations: 4.906 kB / 0.5215 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.551e-05/0.002528, allocations: 112.6 kB / 0.5216 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.002559, allocations: 35.02 kB / 0.5216 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.002571, allocations: 8.656 kB / 0.5216 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.002583, allocations: 0 / 0.5216 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.002601, allocations: 34.33 kB / 0.5216 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002601, allocations: 0 / 0.5216 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.218e-05/0.002693, allocations: 34.7 kB / 0.5217 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.002716, allocations: 51.41 kB / 0.5217 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.0028, allocations: 178.4 kB / 0.5219 GB, free: 452 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.002809, allocations: 25.7 kB / 0.5219 GB, free: 420 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.002862, allocations: 131.5 kB / 0.522 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.002879, allocations: 7.938 kB / 0.5221 GB, free: 276 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.002902, allocations: 24.59 kB / 0.5221 GB, free: 244 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.003064, allocations: 492.1 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.003073, allocations: 0 / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.003088, allocations: 20 kB / 0.5226 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.003118, allocations: 29.17 kB / 0.5226 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00312, allocations: 0 / 0.5226 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.411e-05/0.003164, allocations: 39.27 kB / 0.5226 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.003174, allocations: 8 kB / 0.5226 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.003178, allocations: 0 / 0.5226 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.003189, allocations: 0 / 0.5226 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.003235, allocations: 7.984 kB / 0.5226 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.00324, allocations: 1.719 kB / 0.5226 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.003254, allocations: 7.875 kB / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.003258, allocations: 4 kB / 0.5227 GB, free: 15.61 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 5.868e-05/0.003317, allocations: 156.6 kB / 0.5228 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.003323, allocations: 14.12 kB / 0.5228 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.003392, allocations: 44.75 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.003394, allocations: 4 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.003397, allocations: 0 / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.003401, allocations: 3.938 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.752e-05/0.003468, allocations: 119.3 kB / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003469, allocations: 0 / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.003499, allocations: 8 kB / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.0035, allocations: 0 / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.00351, allocations: 0 / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003511, allocations: 256 / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003511, allocations: 0 / 0.523 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.003598, allocations: 89.72 kB / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.003614, allocations: 4 kB / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.003629, allocations: 3.984 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.003639, allocations: 4 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.003652, allocations: 0.8125 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.003653, allocations: 0 / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.00369, allocations: 125.2 kB / 0.5232 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00369, allocations: 4 kB / 0.5232 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001124/0.003802, allocations: 7.938 kB / 0.5232 GB, free: 14.98 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 7.475e-05/0.003877, allocations: 95.23 kB / 0.5233 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.004039, allocations: 20.94 kB / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.00404, allocations: 0 / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.004052, allocations: 12.34 kB / 0.5233 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.004153, allocations: 2.766 kB / 0.5233 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.004366, allocations: 122.2 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.0044, allocations: 57.98 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.004411, allocations: 0 / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.004432, allocations: 8.5 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.004433, allocations: 4 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.001768/0.006201, allocations: 353.4 kB / 0.5239 GB, free: 14.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.812052116263658]