Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.746/1.746, allocations: 297.8 MB / 313.7 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 174.8 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 93.48 kB / 0.7808 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004239, allocations: 16 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.8451, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9715/1.817, allocations: 366.5 MB / 1.384 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.817, allocations: 91.5 kB / 1.384 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02193/1.839, allocations: 9.732 MB / 1.394 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/1.839, allocations: 4 kB / 1.394 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.839, allocations: 0 / 1.394 GB, free: 226.5 MB / 0.8855 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.0007061/1.84, allocations: 497 kB / 1.394 GB, free: 226 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.84, allocations: 8.031 kB / 1.394 GB, free: 226 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/1.84, allocations: 20.66 kB / 1.394 GB, free: 226 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/1.84, allocations: 255.4 kB / 1.395 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.84, allocations: 8.938 kB / 1.395 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/1.84, allocations: 4.375 kB / 1.395 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/1.841, allocations: 153.8 kB / 1.395 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.841, allocations: 192 / 1.395 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.841, allocations: 7.938 kB / 1.395 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/1.841, allocations: 14.91 kB / 1.395 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/1.841, allocations: 156.9 kB / 1.395 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/1.842, allocations: 462.5 kB / 1.395 GB, free: 225 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/1.842, allocations: 180.2 kB / 1.395 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/1.842, allocations: 112.5 kB / 1.396 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/1.842, allocations: 3.984 kB / 1.396 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.842, allocations: 47.09 kB / 1.396 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/1.843, allocations: 0 / 1.396 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0007775/1.843, allocations: 320.4 kB / 1.396 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/1.843, allocations: 52.06 kB / 1.396 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.844, allocations: 210.4 kB / 1.396 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/1.844, allocations: 33.7 kB / 1.396 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/1.844, allocations: 121.6 kB / 1.396 GB, free: 224 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/1.844, allocations: 43.03 kB / 1.396 GB, free: 224 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/1.844, allocations: 0 / 1.396 GB, free: 224 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/1.844, allocations: 332.6 kB / 1.397 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/1.844, allocations: 85.02 kB / 1.397 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/1.844, allocations: 84.97 kB / 1.397 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/1.845, allocations: 186.5 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.845, allocations: 0 / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004956/1.845, allocations: 232.7 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.845, allocations: 4 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.845, allocations: 0.6094 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.845, allocations: 3.938 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.845, allocations: 37.47 kB / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.845, allocations: 7.938 kB / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/1.846, allocations: 25.06 kB / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/1.846, allocations: 5.219 kB / 1.397 GB, free: 223.1 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/1.846, allocations: 132.8 kB / 1.397 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/1.846, allocations: 19.81 kB / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/1.846, allocations: 27.52 kB / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.846, allocations: 4 kB / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.846, allocations: 0 / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.846, allocations: 0.6094 kB / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/1.846, allocations: 270.8 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.846, allocations: 4 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/1.846, allocations: 33.56 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.846, allocations: 4 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.846, allocations: 1.969 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.846, allocations: 3.938 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.846, allocations: 4 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/1.847, allocations: 336.9 kB / 1.398 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/1.847, allocations: 107.1 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/1.847, allocations: 8.656 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.847, allocations: 16.69 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.847, allocations: 17.48 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.847, allocations: 0.5625 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001116/1.847, allocations: 154.7 kB / 1.398 GB, free: 222 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/1.847, allocations: 3.938 kB / 1.398 GB, free: 222 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000274/1.848, allocations: 44.69 kB / 1.398 GB, free: 222 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/1.848, allocations: 151.6 kB / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004842/1.848, allocations: 193.5 kB / 1.399 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.848, allocations: 0 / 1.399 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/1.849, allocations: 102.9 kB / 1.399 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/1.849, allocations: 33.95 kB / 1.399 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/1.85, allocations: 497.1 kB / 1.399 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/1.85, allocations: 0.7331 MB / 1.4 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001954/1.85, allocations: 48.17 kB / 1.4 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/1.85, allocations: 13.83 kB / 1.4 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/1.85, allocations: 0 / 1.4 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.005897/1.856, allocations: 2.322 MB / 1.402 GB, free: 219 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)