Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009911/0.0009911, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001047/0.001047, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7481/0.7481, allocations: 154.9 MB / 415.9 MB, free: 236 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.198e-05, allocations: 3 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00336/0.003382, allocations: 1.913 MB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.007971, allocations: 3.7 MB / 0.5274 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.008072, allocations: 7.938 kB / 0.5274 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007921/0.008864, allocations: 181.1 kB / 0.5276 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.009072, allocations: 85.36 kB / 0.5276 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.009202, allocations: 52.89 kB / 0.5277 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.009652, allocations: 295.1 kB / 0.528 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.00974, allocations: 13.81 kB / 0.528 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.009888, allocations: 107.7 kB / 0.5281 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.01, allocations: 71.73 kB / 0.5281 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.01003, allocations: 4 kB / 0.5282 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.01011, allocations: 27.98 kB / 0.5282 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.01018, allocations: 59.77 kB / 0.5282 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.01025, allocations: 54.89 kB / 0.5283 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.01047, allocations: 167.2 kB / 0.5284 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01048, allocations: 0 / 0.5284 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01048, allocations: 0 / 0.5284 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.01048, allocations: 0 / 0.5284 GB, free: 10.81 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006877/0.01117, allocations: 0.5538 MB / 0.529 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.0112, allocations: 9.531 kB / 0.529 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006129/0.01181, allocations: 99.75 kB / 0.5291 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.01204, allocations: 196.7 kB / 0.5293 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.01206, allocations: 4.375 kB / 0.5293 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.01208, allocations: 8.375 kB / 0.5293 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.01231, allocations: 117.2 kB / 0.5294 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.01231, allocations: 192 / 0.5294 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.01233, allocations: 4.125 kB / 0.5294 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.01236, allocations: 8 kB / 0.5294 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.01246, allocations: 35.95 kB / 0.5294 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.01297, allocations: 365.7 kB / 0.5298 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01314, allocations: 90.95 kB / 0.5299 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.01322, allocations: 43.66 kB / 0.5299 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.01323, allocations: 5.156 kB / 0.5299 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.01326, allocations: 37.39 kB / 0.53 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01326, allocations: 0 / 0.53 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003348/0.01359, allocations: 140.1 kB / 0.5301 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.01362, allocations: 55.41 kB / 0.5302 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.01385, allocations: 306.2 kB / 0.5304 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01387, allocations: 29.7 kB / 0.5305 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01398, allocations: 198.7 kB / 0.5307 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.01402, allocations: 43.64 kB / 0.5307 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.0141, allocations: 45.7 kB / 0.5307 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01424, allocations: 0.5118 MB / 0.5312 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.01431, allocations: 15.98 kB / 0.5313 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.01436, allocations: 18.86 kB / 0.5313 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01449, allocations: 51.67 kB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01449, allocations: 1.406 kB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002227/0.01471, allocations: 125.4 kB / 0.5315 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01472, allocations: 6.188 kB / 0.5315 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01473, allocations: 1.281 kB / 0.5315 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.01474, allocations: 0 / 0.5315 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.01495, allocations: 35.95 kB / 0.5315 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.01495, allocations: 0.6562 kB / 0.5315 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01507, allocations: 20.5 kB / 0.5315 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01509, allocations: 0 / 0.5315 GB, free: 7.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 9.805e-05/0.01519, allocations: 162 kB / 0.5317 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.01525, allocations: 35.73 kB / 0.5317 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.01531, allocations: 33.8 kB / 0.5317 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01531, allocations: 0.5625 kB / 0.5317 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01531, allocations: 3.938 kB / 0.5317 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01531, allocations: 4.609 kB / 0.5317 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.01554, allocations: 162.1 kB / 0.5319 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01554, allocations: 3.984 kB / 0.5319 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.01573, allocations: 29.48 kB / 0.5319 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.01574, allocations: 4 kB / 0.5319 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.01575, allocations: 7.922 kB / 0.5319 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01575, allocations: 0 / 0.5319 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01576, allocations: 0.9688 kB / 0.5319 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.01606, allocations: 278.4 kB / 0.5322 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.01614, allocations: 40.34 kB / 0.5322 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.01617, allocations: 7.938 kB / 0.5323 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.01635, allocations: 8.594 kB / 0.5323 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01639, allocations: 12.56 kB / 0.5323 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.01641, allocations: 4 kB / 0.5323 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001258/0.01653, allocations: 203.5 kB / 0.5325 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01654, allocations: 0.6562 kB / 0.5325 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002874/0.01682, allocations: 36 kB / 0.5325 GB, free: 6.438 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 (13): * Single equations (assignments): 13 * 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.0001049/0.01693, allocations: 100.5 kB / 0.5326 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01713, allocations: 68.17 kB / 0.5327 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01713, allocations: 1.75 kB / 0.5327 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01723, allocations: 55.58 kB / 0.5327 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.01766, allocations: 62.58 kB / 0.5328 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.01856, allocations: 412.6 kB / 0.5332 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.01863, allocations: 87.67 kB / 0.5333 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.01879, allocations: 34.28 kB / 0.5333 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.01899, allocations: 118.2 kB / 0.5334 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.01899, allocations: 1.156 kB / 0.5334 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of Templates: time 0.006086/0.02508, allocations: 2.989 MB / 0.5363 GB, free: 2.668 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5404000231064856]