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.001085/0.001085, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001189/0.001189, allocations: 173 kB / 23.49 MB, free: 1.059 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7819/0.7819, allocations: 154.6 MB / 414.9 MB, free: 0.707 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.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 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.94e-05, allocations: 7.375 kB / 0.5203 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001024/0.001044, allocations: 0.5278 MB / 0.5208 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000148/0.001192, allocations: 15.92 kB / 0.5208 GB, free: 2.059 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.001228, allocations: 0 / 0.5208 GB, free: 2.059 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.001245, allocations: 4.562 kB / 0.5208 GB, free: 2.055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.001399, allocations: 4 kB / 0.5208 GB, free: 2.051 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.001402, allocations: 0.9688 kB / 0.5208 GB, free: 2.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.001455, allocations: 7.984 kB / 0.5209 GB, free: 2.043 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.001494, allocations: 0.5 kB / 0.5209 GB, free: 2.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.001551, allocations: 4 kB / 0.5209 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.001588, allocations: 4.719 kB / 0.5209 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.001604, allocations: 0 / 0.5209 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-06/0.001609, allocations: 2.062 kB / 0.5209 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.001621, allocations: 0 / 0.5209 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.001635, allocations: 4 kB / 0.5209 GB, free: 2.031 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.051e-05/0.001685, allocations: 3.984 kB / 0.5209 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.001687, allocations: 0 / 0.5209 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.5e-07/0.001688, allocations: 0 / 0.5209 GB, free: 2.027 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.001691, allocations: 1.125 kB / 0.5209 GB, free: 2.027 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.0002415/0.001932, allocations: 348.3 kB / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.001973, allocations: 13.5 kB / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.002006, allocations: 0.9375 kB / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.002077, allocations: 104.6 kB / 0.5213 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.002094, allocations: 4.375 kB / 0.5213 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.002103, allocations: 1.188 kB / 0.5213 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.352e-05/0.002196, allocations: 53.62 kB / 0.5214 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.002202, allocations: 1.156 kB / 0.5214 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.002213, allocations: 4.375 kB / 0.5214 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00222, allocations: 1.375 kB / 0.5214 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.002241, allocations: 11.88 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.002356, allocations: 120.8 kB / 0.5215 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.002409, allocations: 58.2 kB / 0.5216 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.00243, allocations: 19.81 kB / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.002451, allocations: 1.031 kB / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.002473, allocations: 37.45 kB / 0.5216 GB, free: 1.109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.002474, allocations: 0.9062 kB / 0.5216 GB, free: 1.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.00261, allocations: 46.25 kB / 0.5217 GB, free: 1.059 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.002649, allocations: 81.11 kB / 0.5217 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.002716, allocations: 154.5 kB / 0.5219 GB, free: 0.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.002726, allocations: 26.98 kB / 0.5219 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.002757, allocations: 126.9 kB / 0.522 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.002785, allocations: 8.297 kB / 0.522 GB, free: 0.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.002812, allocations: 21.19 kB / 0.5221 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.002927, allocations: 496.1 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.002937, allocations: 4 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.002951, allocations: 15.38 kB / 0.5226 GB, free: 76 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.002983, allocations: 33.06 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.002985, allocations: 0 / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.77e-05/0.003053, allocations: 42.38 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.003066, allocations: 4 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.003071, allocations: 1.406 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.003085, allocations: 7.984 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.003154, allocations: 0 / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.003161, allocations: 4 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.003174, allocations: 8.922 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.003181, allocations: 4 kB / 0.5227 GB, free: 15.96 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.989e-05/0.003241, allocations: 157.5 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-06/0.003246, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.003323, allocations: 55.47 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.003324, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.003329, allocations: 4 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.003334, allocations: 3.938 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.537e-05/0.003389, allocations: 108.6 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00339, allocations: 0 / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.003401, allocations: 4 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.003402, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.003408, allocations: 10.97 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.003408, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.003409, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.84e-05/0.003468, allocations: 92 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.003498, allocations: 3.938 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.003506, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.003514, allocations: 8 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.003529, allocations: 9.484 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.003531, allocations: 0 / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.003561, allocations: 127.1 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003561, allocations: 0 / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001117/0.003673, allocations: 1.406 kB / 0.5232 GB, free: 15.32 MB / 0.4948 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 6.012e-05/0.003733, allocations: 91.25 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.003799, allocations: 20.91 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0038, allocations: 0 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.003811, allocations: 20.33 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.369e-05/0.003905, allocations: 0.625 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.004556, allocations: 102.5 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.004587, allocations: 61.97 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.344e-05/0.0046, allocations: 0 / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.004624, allocations: 8.5 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.004624, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001363/0.005987, allocations: 215.5 kB / 0.5237 GB, free: 14.75 MB / 0.4948 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: 3.6890048219356686]