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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.148/2.148, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 195.4 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.5 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 45.58 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002874/0.2499, allocations: 1.96 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.2527, allocations: 3.423 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.2529, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.2531, allocations: 43.73 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.2535, allocations: 131.2 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.983e-05/0.2536, allocations: 23.97 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2538, allocations: 183.2 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.2539, allocations: 37.64 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.254, allocations: 75.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2541, allocations: 79.61 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.2542, allocations: 8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.2543, allocations: 27.92 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.2543, allocations: 39.83 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.2544, allocations: 75.53 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2545, allocations: 163.3 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2546, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2546, allocations: 4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2546, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 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.0007563/0.2553, allocations: 0.5022 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2554, allocations: 11.98 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.2554, allocations: 16.75 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.2557, allocations: 246.9 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2557, allocations: 4.375 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.2558, allocations: 4.375 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2561, allocations: 145.6 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2561, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2561, allocations: 3.984 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.2561, allocations: 12 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2565, allocations: 147.8 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.2571, allocations: 456.5 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.2575, allocations: 170.4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2577, allocations: 104.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2577, allocations: 11.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.2577, allocations: 38.56 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2578, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0007128/0.2585, allocations: 285.5 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2585, allocations: 63.33 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2587, allocations: 209 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2587, allocations: 29.7 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.2587, allocations: 120 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.2588, allocations: 47.39 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.2588, allocations: 25.95 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.2589, allocations: 338.8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2591, allocations: 75.94 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.2593, allocations: 79.94 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.2597, allocations: 168.4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2597, allocations: 3.938 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004372/0.2601, allocations: 213.2 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2602, allocations: 12 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2602, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2602, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2604, allocations: 31.97 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2604, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2606, allocations: 19.97 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2606, allocations: 4 kB / 1.228 GB, free: 107.2 MB / 0.823 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.426e-05/0.2607, allocations: 134.4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.2607, allocations: 19.72 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.2608, allocations: 21.84 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2608, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2608, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2608, allocations: 7.922 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.261, allocations: 273.4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.261, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2612, allocations: 31.97 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2612, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2613, allocations: 15.97 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2613, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2613, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.2621, allocations: 0.9967 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.2622, allocations: 104.9 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.2622, allocations: 7.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2624, allocations: 11.98 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.2624, allocations: 7.984 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2625, allocations: 15.98 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.2625, allocations: 152.5 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2626, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003501/0.2629, allocations: 40 kB / 1.229 GB, free: 105.2 MB / 0.823 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.0001303/0.263, allocations: 107.2 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.2635, allocations: 175.9 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2635, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2637, allocations: 96.86 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.2641, allocations: 29.73 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.2649, allocations: 0.6163 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.265, allocations: 0.7353 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.2652, allocations: 48.59 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.2653, allocations: 27.36 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.2653, allocations: 3.938 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of Templates: time 0.003585/0.2689, allocations: 1.708 MB / 1.233 GB, free: 101.6 MB / 0.823 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)