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.0007824/0.0007824, allocations: 96.36 kB / 19.7 MB, free: 452 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.0007454/0.0007454, allocations: 207.2 kB / 22.99 MB, free: 2.984 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.8824/0.8824, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7614/0.7614, allocations: 203.8 MB / 0.5049 GB, free: 10.47 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.0009511/0.0009511, allocations: 65.09 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4711, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002315/0.4735, allocations: 1.852 MB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.4768, allocations: 3.465 MB / 0.8242 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.477, allocations: 2.656 kB / 0.8242 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.4777, allocations: 177.2 kB / 0.8244 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.478, allocations: 78.41 kB / 0.8245 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.4781, allocations: 61.83 kB / 0.8245 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.4785, allocations: 269 kB / 0.8248 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4786, allocations: 27.89 kB / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.4787, allocations: 75.62 kB / 0.8249 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4789, allocations: 76.66 kB / 0.8249 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4789, allocations: 12.88 kB / 0.825 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.479, allocations: 27.42 kB / 0.825 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.479, allocations: 62.94 kB / 0.825 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.4791, allocations: 70.45 kB / 0.8251 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.4793, allocations: 209.9 kB / 0.8253 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4793, allocations: 0 / 0.8253 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4793, allocations: 1.375 kB / 0.8253 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.4794, allocations: 0 / 0.8253 GB, free: 13.19 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006188/0.48, allocations: 481.7 kB / 0.8258 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.48, allocations: 8.5 kB / 0.8258 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.4805, allocations: 120.8 kB / 0.8259 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4808, allocations: 216 kB / 0.8261 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.4809, allocations: 1.938 kB / 0.8261 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4809, allocations: 12.88 kB / 0.8261 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.4811, allocations: 154.4 kB / 0.8263 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4812, allocations: 0 / 0.8263 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4812, allocations: 4.656 kB / 0.8263 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.4812, allocations: 9.531 kB / 0.8263 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.4815, allocations: 163.8 kB / 0.8264 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.482, allocations: 403.3 kB / 0.8268 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.4823, allocations: 177.4 kB / 0.827 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.4825, allocations: 101.2 kB / 0.8271 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4825, allocations: 6.859 kB / 0.8271 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.4825, allocations: 38.19 kB / 0.8271 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.4825, allocations: 0 / 0.8271 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005737/0.4831, allocations: 316.2 kB / 0.8274 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.4831, allocations: 53.55 kB / 0.8275 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.4833, allocations: 254.9 kB / 0.8277 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4833, allocations: 27.11 kB / 0.8277 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.4834, allocations: 136.6 kB / 0.8279 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4834, allocations: 49.67 kB / 0.8279 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.4835, allocations: 32.45 kB / 0.828 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.4836, allocations: 344.9 kB / 0.8283 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4837, allocations: 78.38 kB / 0.8284 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4839, allocations: 85.78 kB / 0.8284 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4842, allocations: 182.3 kB / 0.8286 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4842, allocations: 0 / 0.8286 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003546/0.4845, allocations: 235.3 kB / 0.8288 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4845, allocations: 5.344 kB / 0.8288 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4845, allocations: 6.016 kB / 0.8288 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4846, allocations: 0 / 0.8288 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4847, allocations: 38.62 kB / 0.8289 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4847, allocations: 5.969 kB / 0.8289 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.4848, allocations: 16.66 kB / 0.8289 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4848, allocations: 5.797 kB / 0.8289 GB, free: 11 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 (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.635e-05/0.4849, allocations: 140 kB / 0.829 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.485, allocations: 31.94 kB / 0.8291 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.485, allocations: 32.16 kB / 0.8291 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.485, allocations: 2.969 kB / 0.8291 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.485, allocations: 0 / 0.8291 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.485, allocations: 1.359 kB / 0.8291 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.4852, allocations: 213.3 kB / 0.8293 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4852, allocations: 1.5 kB / 0.8293 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.4853, allocations: 38.44 kB / 0.8294 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4854, allocations: 1.562 kB / 0.8294 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4854, allocations: 7.016 kB / 0.8294 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4854, allocations: 4.656 kB / 0.8294 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4854, allocations: 1 kB / 0.8294 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.4858, allocations: 338.2 kB / 0.8297 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.4858, allocations: 39 kB / 0.8297 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4858, allocations: 2.266 kB / 0.8297 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.486, allocations: 20.36 kB / 0.8297 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.486, allocations: 12.81 kB / 0.8298 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.486, allocations: 5.109 kB / 0.8298 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001294/0.4861, allocations: 186.9 kB / 0.8299 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4861, allocations: 0 / 0.8299 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002012/0.4864, allocations: 39.5 kB / 0.83 GB, free: 10.32 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 (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 9.218e-05/0.4864, allocations: 98.23 kB / 0.8301 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.4868, allocations: 187.4 kB / 0.8303 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4868, allocations: 1.594 kB / 0.8303 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.487, allocations: 97.78 kB / 0.8303 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4873, allocations: 68.73 kB / 0.8304 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.4881, allocations: 0.5082 MB / 0.8309 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.4882, allocations: 134.1 kB / 0.831 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.4883, allocations: 23.66 kB / 0.8311 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4883, allocations: 0 / 0.8311 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of Templates: time 0.005171/0.4935, allocations: 3.048 MB / 0.834 GB, free: 9.465 MB / 0.6198 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: 6.1563829011283815] Failed to read output from testmodel.py, exit status != 0: 0.49932833621278405 0.5094192940000001 0.028057097000000003 Calling exit ...