Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.0009083/0.0009083, allocations: 93.06 kB / 19.65 MB, free: 272 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.001257/0.001257, allocations: 165 kB / 23.02 MB, free: 1.543 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.819/0.819, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") translateModel(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.027e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002679/0.002699, allocations: 2.325 MB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.006399, allocations: 4.034 MB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.006517, allocations: 4.875 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.007298, allocations: 238.4 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.007533, allocations: 147.3 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.007649, allocations: 71.77 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.008128, allocations: 417.5 kB / 0.5274 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.008285, allocations: 58.05 kB / 0.5274 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.008477, allocations: 195.5 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.008624, allocations: 115.6 kB / 0.5277 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.008651, allocations: 16 kB / 0.5277 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.008754, allocations: 49.38 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.008831, allocations: 95.69 kB / 0.5279 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.008916, allocations: 99.69 kB / 0.528 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.009176, allocations: 265.3 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.009178, allocations: 0 / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.009179, allocations: 0 / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.009183, allocations: 0 / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001054/0.01024, allocations: 0.6962 MB / 0.5289 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.01027, allocations: 12.03 kB / 0.5289 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.01052, allocations: 79.86 kB / 0.529 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.01085, allocations: 271.4 kB / 0.5292 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.01086, allocations: 11.98 kB / 0.5293 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.01089, allocations: 12 kB / 0.5293 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.01117, allocations: 177.1 kB / 0.5294 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01118, allocations: 3.938 kB / 0.5294 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.0112, allocations: 7.984 kB / 0.5294 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.01124, allocations: 19.98 kB / 0.5295 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.01141, allocations: 92.38 kB / 0.5295 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.01225, allocations: 0.6207 MB / 0.5302 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.0125, allocations: 178.4 kB / 0.5303 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01261, allocations: 80.8 kB / 0.5304 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.01264, allocations: 4 kB / 0.5304 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.01266, allocations: 37.8 kB / 0.5304 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.01266, allocations: 0.9375 kB / 0.5304 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0004232/0.01308, allocations: 241.4 kB / 0.5307 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.01311, allocations: 59.34 kB / 0.5307 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.01341, allocations: 378.3 kB / 0.5311 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01343, allocations: 29.7 kB / 0.5311 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01354, allocations: 235.3 kB / 0.5313 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.01358, allocations: 79.27 kB / 0.5314 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.01366, allocations: 59.34 kB / 0.5315 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01379, allocations: 0.5196 MB / 0.532 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.01387, allocations: 35.97 kB / 0.532 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.01397, allocations: 79.02 kB / 0.5321 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01416, allocations: 129.5 kB / 0.5322 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01416, allocations: 4 kB / 0.5322 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002703/0.01443, allocations: 205.1 kB / 0.5324 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01445, allocations: 4 kB / 0.5324 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01445, allocations: 0 / 0.5324 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.01447, allocations: 7.188 kB / 0.5324 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.01467, allocations: 47.95 kB / 0.5325 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01468, allocations: 7.938 kB / 0.5325 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.01477, allocations: 23.88 kB / 0.5325 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01479, allocations: 8 kB / 0.5325 GB, free: 5.523 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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 8.94e-05/0.01488, allocations: 172.5 kB / 0.5327 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.01493, allocations: 47.61 kB / 0.5327 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.01498, allocations: 55.41 kB / 0.5328 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01499, allocations: 0 / 0.5328 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01499, allocations: 3.938 kB / 0.5328 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01499, allocations: 0 / 0.5328 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.01565, allocations: 0.6105 MB / 0.5334 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01565, allocations: 0 / 0.5334 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01579, allocations: 48.81 kB / 0.5334 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.0158, allocations: 8.984 kB / 0.5334 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01581, allocations: 8 kB / 0.5334 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01582, allocations: 3.984 kB / 0.5334 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01582, allocations: 0.6875 kB / 0.5334 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.01611, allocations: 348.2 kB / 0.5338 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.01619, allocations: 59.66 kB / 0.5338 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.01622, allocations: 12.5 kB / 0.5338 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.01631, allocations: 9.344 kB / 0.5338 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.01637, allocations: 23.95 kB / 0.5339 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01638, allocations: 7.938 kB / 0.5339 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001307/0.01651, allocations: 251.7 kB / 0.5341 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01651, allocations: 0.625 kB / 0.5341 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002154/0.01673, allocations: 75.89 kB / 0.5342 GB, free: 3.738 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 (23): * Single equations (assignments): 23 * 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.0001185/0.01684, allocations: 104.1 kB / 0.5343 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.01709, allocations: 144.4 kB / 0.5344 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01709, allocations: 0 / 0.5344 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.0172, allocations: 92.86 kB / 0.5345 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01754, allocations: 89.14 kB / 0.5346 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.01846, allocations: 0.6104 MB / 0.5352 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.189e-05/0.01853, allocations: 104.2 kB / 0.5353 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.01871, allocations: 101 kB / 0.5354 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.01878, allocations: 28.48 kB / 0.5354 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01878, allocations: 0 / 0.5354 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.006173/0.02496, allocations: 4.567 MB / 0.5399 GB, free: 14.12 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & ./IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.04102394497022]