Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0007633/0.0007633, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007217/0.0007217, allocations: 210.4 kB / 23 MB, free: 2.973 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.9247/0.9247, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7111/0.7111, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.0008156/0.0008156, allocations: 71.69 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4604, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002434/0.4628, allocations: 2.003 MB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.467, allocations: 3.905 MB / 0.8248 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.4671, allocations: 1.312 kB / 0.8248 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.468, allocations: 187.2 kB / 0.825 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4681, allocations: 70.09 kB / 0.825 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.4689, allocations: 313.7 kB / 0.8253 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005608/0.4695, allocations: 387.9 kB / 0.8257 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4696, allocations: 43.22 kB / 0.8257 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.4698, allocations: 106.5 kB / 0.8258 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.4699, allocations: 125.1 kB / 0.826 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4699, allocations: 16.66 kB / 0.826 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.4704, allocations: 313.9 kB / 0.8263 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4706, allocations: 105.8 kB / 0.8264 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4707, allocations: 130.6 kB / 0.8265 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.4713, allocations: 0.5213 MB / 0.827 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4713, allocations: 0 / 0.827 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4713, allocations: 1.219 kB / 0.827 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4713, allocations: 0 / 0.827 GB, free: 12.41 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000957/0.4722, allocations: 0.7013 MB / 0.8277 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4723, allocations: 9 kB / 0.8277 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.4729, allocations: 159.2 kB / 0.8279 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.4734, allocations: 299.6 kB / 0.8281 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4734, allocations: 3.25 kB / 0.8281 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4734, allocations: 14.25 kB / 0.8282 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.4738, allocations: 213.9 kB / 0.8284 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4738, allocations: 0 / 0.8284 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4738, allocations: 6.047 kB / 0.8284 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4738, allocations: 1.562 kB / 0.8284 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.4743, allocations: 259.6 kB / 0.8286 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.4751, allocations: 0.5114 MB / 0.8291 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.4754, allocations: 176.1 kB / 0.8293 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.4756, allocations: 137.2 kB / 0.8294 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.4757, allocations: 18.92 kB / 0.8294 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4757, allocations: 32.42 kB / 0.8295 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.4757, allocations: 1.625 kB / 0.8295 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008885/0.4766, allocations: 474.2 kB / 0.8299 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4766, allocations: 52.41 kB / 0.83 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.4772, allocations: 421.2 kB / 0.8304 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4772, allocations: 34.33 kB / 0.8304 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4773, allocations: 186.2 kB / 0.8306 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.4774, allocations: 42.47 kB / 0.8306 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.4774, allocations: 41 kB / 0.8307 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4776, allocations: 353.2 kB / 0.831 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.478, allocations: 218.3 kB / 0.8312 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.4783, allocations: 219.3 kB / 0.8314 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4789, allocations: 384.4 kB / 0.8318 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4789, allocations: 0 / 0.8318 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007171/0.4796, allocations: 0.5264 MB / 0.8323 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.4797, allocations: 48.02 kB / 0.8323 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4797, allocations: 0 / 0.8323 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4797, allocations: 1.719 kB / 0.8323 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4799, allocations: 45.33 kB / 0.8324 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4799, allocations: 1.062 kB / 0.8324 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4801, allocations: 39.47 kB / 0.8324 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4801, allocations: 22.66 kB / 0.8324 GB, free: 9.547 MB / 0.6198 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001402/0.4802, allocations: 154 kB / 0.8326 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.4803, allocations: 40.48 kB / 0.8326 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/0.4809, allocations: 374.2 kB / 0.833 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4809, allocations: 1.156 kB / 0.833 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4809, allocations: 0 / 0.833 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.481, allocations: 2.109 kB / 0.833 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.4813, allocations: 274.6 kB / 0.8333 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4813, allocations: 0 / 0.8333 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.4814, allocations: 53.83 kB / 0.8333 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4814, allocations: 0 / 0.8333 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4815, allocations: 5.375 kB / 0.8333 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4815, allocations: 0 / 0.8333 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4815, allocations: 0 / 0.8333 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.4822, allocations: 442.8 kB / 0.8337 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.4823, allocations: 52.02 kB / 0.8338 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4823, allocations: 1.953 kB / 0.8338 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.4825, allocations: 28.83 kB / 0.8338 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.4825, allocations: 14.98 kB / 0.8338 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4825, allocations: 5.5 kB / 0.8338 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002581/0.4828, allocations: 300.8 kB / 0.8341 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4828, allocations: 0 / 0.8341 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004701/0.4833, allocations: 119.7 kB / 0.8342 GB, free: 8.668 MB / 0.6198 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 (11): * Single equations (assignments): 11 * 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.0002793/0.4836, allocations: 174.6 kB / 0.8344 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006891/0.4842, allocations: 476.9 kB / 0.8348 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4842, allocations: 0 / 0.8348 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.4845, allocations: 146.6 kB / 0.835 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4848, allocations: 68.77 kB / 0.8351 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.4858, allocations: 0.6796 MB / 0.8357 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.486, allocations: 184.2 kB / 0.8359 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4861, allocations: 33.19 kB / 0.8359 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.4861, allocations: 0 / 0.8359 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of Templates: time 0.007169/0.4933, allocations: 5.184 MB / 0.841 GB, free: 5.562 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.980767452158034] Failed to read output from testmodel.py, exit status != 0: 0.49886901024729013 0.508980519 0.035801646 Calling exit ...