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.0007667/0.0007667, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008265/0.0008265, allocations: 215.9 kB / 23.01 MB, free: 3.102 MB / 13.93 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.9043/0.9043, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.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-531:190: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-531:198: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.7565/0.7565, allocations: 203.8 MB / 0.5049 GB, free: 0.6445 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008223/0.0008223, allocations: 68.08 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4416, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002496/0.4441, allocations: 1.924 MB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.4471, allocations: 3.749 MB / 0.8246 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.4472, allocations: 1.812 kB / 0.8246 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.4479, allocations: 194.2 kB / 0.8248 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.448, allocations: 81.42 kB / 0.8249 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.882e-05/0.4481, allocations: 56.27 kB / 0.8249 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.4485, allocations: 275.9 kB / 0.8252 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.4486, allocations: 28.16 kB / 0.8252 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.4487, allocations: 77.73 kB / 0.8253 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4488, allocations: 82.28 kB / 0.8254 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.4488, allocations: 11.44 kB / 0.8254 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.4489, allocations: 32.3 kB / 0.8254 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.449, allocations: 61.27 kB / 0.8255 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.449, allocations: 91.12 kB / 0.8256 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4493, allocations: 210.7 kB / 0.8258 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4493, allocations: 0 / 0.8258 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4493, allocations: 0 / 0.8258 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4493, allocations: 1.094 kB / 0.8258 GB, free: 20.69 MB / 0.6355 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.0006015/0.4499, allocations: 471.8 kB / 0.8262 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4499, allocations: 10.84 kB / 0.8262 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.4504, allocations: 121.8 kB / 0.8264 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.4507, allocations: 222.1 kB / 0.8266 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4507, allocations: 5.719 kB / 0.8266 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4507, allocations: 5.25 kB / 0.8266 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.451, allocations: 155.6 kB / 0.8267 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4511, allocations: 3.938 kB / 0.8267 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4511, allocations: 7.969 kB / 0.8267 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.4511, allocations: 14.64 kB / 0.8268 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.4514, allocations: 159.3 kB / 0.8269 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4519, allocations: 444 kB / 0.8273 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.4521, allocations: 176.6 kB / 0.8275 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4523, allocations: 102 kB / 0.8276 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4523, allocations: 10.84 kB / 0.8276 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.4523, allocations: 40.25 kB / 0.8276 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.4523, allocations: 0 / 0.8276 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005388/0.4529, allocations: 318.2 kB / 0.8279 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4529, allocations: 53.19 kB / 0.828 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.4531, allocations: 254.8 kB / 0.8282 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4531, allocations: 30.92 kB / 0.8283 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.4531, allocations: 132.8 kB / 0.8284 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.4532, allocations: 48.48 kB / 0.8284 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.4532, allocations: 33.98 kB / 0.8285 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.4532, allocations: 343.7 kB / 0.8288 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4534, allocations: 77.64 kB / 0.8289 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4535, allocations: 82.55 kB / 0.829 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4538, allocations: 183.6 kB / 0.8291 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4538, allocations: 0 / 0.8291 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003328/0.4541, allocations: 240.3 kB / 0.8294 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4541, allocations: 4.844 kB / 0.8294 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4541, allocations: 4 kB / 0.8294 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4541, allocations: 1.75 kB / 0.8294 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4543, allocations: 38.58 kB / 0.8294 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4543, allocations: 0.6562 kB / 0.8294 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.4544, allocations: 21.61 kB / 0.8294 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4544, allocations: 4.359 kB / 0.8294 GB, free: 18.46 MB / 0.6355 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 7.176e-05/0.4545, allocations: 150 kB / 0.8296 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.4545, allocations: 24.02 kB / 0.8296 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.4545, allocations: 28.27 kB / 0.8296 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4545, allocations: 1.984 kB / 0.8296 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4545, allocations: 4 kB / 0.8296 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4545, allocations: 1.75 kB / 0.8296 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.4547, allocations: 257.1 kB / 0.8299 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4547, allocations: 1.688 kB / 0.8299 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4548, allocations: 38.47 kB / 0.8299 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4548, allocations: 9.594 kB / 0.8299 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4549, allocations: 6.391 kB / 0.8299 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4549, allocations: 1.984 kB / 0.8299 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4549, allocations: 0 / 0.8299 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.4552, allocations: 342.1 kB / 0.8303 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.4553, allocations: 37.92 kB / 0.8303 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4553, allocations: 1.828 kB / 0.8303 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.4554, allocations: 12.94 kB / 0.8303 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.4554, allocations: 13.12 kB / 0.8303 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4554, allocations: 6.016 kB / 0.8303 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.7e-05/0.4555, allocations: 186.7 kB / 0.8305 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4555, allocations: 0 / 0.8305 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001746/0.4557, allocations: 41.41 kB / 0.8305 GB, free: 17.73 MB / 0.6355 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 6.774e-05/0.4558, allocations: 102.9 kB / 0.8306 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.4561, allocations: 182.6 kB / 0.8308 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4561, allocations: 0 / 0.8308 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4562, allocations: 101.8 kB / 0.8309 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4565, allocations: 61.55 kB / 0.831 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.4571, allocations: 0.5089 MB / 0.8315 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4572, allocations: 0.7485 MB / 0.8322 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.4573, allocations: 23.03 kB / 0.8322 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4573, allocations: 3.938 kB / 0.8322 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.003967/0.4612, allocations: 2.943 MB / 0.8351 GB, free: 16.26 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.943594110198319] Failed to read output from testmodel.py, exit status != 0: 0.4660934079438448 0.47515979700000005 0.023895823 Calling exit ...