Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001819/0.001819, allocations: 88.72 kB / 19.44 MB, free: 352 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.002195/0.002195, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 178] 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 1.238/1.238, allocations: 154.8 MB / 414.4 MB, free: 388 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 178] 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") translateModel(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.95e-06/4.95e-06, allocations: 4.875 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/3.187e-05, allocations: 4.281 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003998/0.00403, allocations: 2.222 MB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.01074, allocations: 4.606 MB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.01089, allocations: 7.938 kB / 0.5265 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.01191, allocations: 251.6 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.01226, allocations: 145.9 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.01244, allocations: 76.83 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.01315, allocations: 435 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.01332, allocations: 58.05 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.01366, allocations: 195.5 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.01389, allocations: 127.5 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.01394, allocations: 20 kB / 0.5278 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.01405, allocations: 39.91 kB / 0.5278 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01418, allocations: 102.2 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.01431, allocations: 95.72 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.0148, allocations: 338.7 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.0148, allocations: 0 / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.0148, allocations: 0 / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.01481, allocations: 0.8125 kB / 0.5283 GB, free: 9.629 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.001652/0.01646, allocations: 0.6229 MB / 0.5289 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.0165, allocations: 8.031 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.01808, allocations: 228.1 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.01892, allocations: 290.6 kB / 0.5294 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.01894, allocations: 8.375 kB / 0.5295 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.01899, allocations: 12.38 kB / 0.5295 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/0.0198, allocations: 319.4 kB / 0.5298 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01981, allocations: 3.938 kB / 0.5298 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.01985, allocations: 11.98 kB / 0.5298 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.01989, allocations: 24.89 kB / 0.5298 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/0.02087, allocations: 338.3 kB / 0.5301 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.023, allocations: 0.7237 MB / 0.5308 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.02391, allocations: 328.6 kB / 0.5311 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.02443, allocations: 193.7 kB / 0.5313 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.02447, allocations: 5.281 kB / 0.5313 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.02451, allocations: 38.5 kB / 0.5314 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.02451, allocations: 0 / 0.5314 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001727/0.02624, allocations: 0.569 MB / 0.5319 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.0263, allocations: 59.39 kB / 0.532 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.02668, allocations: 321.7 kB / 0.5323 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.02673, allocations: 32.33 kB / 0.5323 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.0269, allocations: 184.5 kB / 0.5325 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.02699, allocations: 75.34 kB / 0.5326 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.02712, allocations: 49.69 kB / 0.5326 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.02733, allocations: 350.8 kB / 0.533 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.02782, allocations: 149.8 kB / 0.5331 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.02831, allocations: 187.2 kB / 0.5333 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.0293, allocations: 350 kB / 0.5336 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0293, allocations: 0.9688 kB / 0.5336 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001212/0.03051, allocations: 439.3 kB / 0.534 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.03053, allocations: 6.344 kB / 0.534 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.03054, allocations: 4 kB / 0.534 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.03056, allocations: 0 / 0.534 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.03115, allocations: 63.88 kB / 0.5341 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.03116, allocations: 4 kB / 0.5341 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.03156, allocations: 34.95 kB / 0.5341 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.0316, allocations: 15.98 kB / 0.5342 GB, free: 3.543 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 0.0002034/0.03181, allocations: 145.8 kB / 0.5343 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.03192, allocations: 47.7 kB / 0.5343 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.03206, allocations: 59.44 kB / 0.5344 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.03206, allocations: 8.812 kB / 0.5344 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.03207, allocations: 0 / 0.5344 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.03207, allocations: 0 / 0.5344 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.03409, allocations: 0.8302 MB / 0.5352 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.03409, allocations: 0 / 0.5352 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.03462, allocations: 65.41 kB / 0.5353 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.03462, allocations: 0 / 0.5353 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.03465, allocations: 13.14 kB / 0.5353 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.03466, allocations: 0 / 0.5353 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03466, allocations: 0 / 0.5353 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.03596, allocations: 0.5195 MB / 0.5358 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.03613, allocations: 67.66 kB / 0.5359 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.0362, allocations: 8 kB / 0.5359 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.03661, allocations: 19.97 kB / 0.5359 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.0367, allocations: 15.97 kB / 0.5359 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.03673, allocations: 11.98 kB / 0.5359 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002618/0.03699, allocations: 232.3 kB / 0.5361 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03699, allocations: 0 / 0.5361 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003823/0.03737, allocations: 68 kB / 0.5362 GB, free: 1.395 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.0001515/0.03753, allocations: 100.8 kB / 0.5363 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.03863, allocations: 354.5 kB / 0.5366 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03863, allocations: 1.188 kB / 0.5366 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.03917, allocations: 183 kB / 0.5368 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.03977, allocations: 109.8 kB / 0.5369 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.04126, allocations: 0.7107 MB / 0.5376 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.04147, allocations: 190.3 kB / 0.5378 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004672/0.04194, allocations: 124.2 kB / 0.5379 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.04212, allocations: 36.45 kB / 0.5379 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.173e-06/0.04212, allocations: 0 / 0.5379 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.01054/0.05265, allocations: 5.201 MB / 0.543 GB, free: 10.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.021146539016627]