Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 185.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 92.05 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000658/0.0006587, allocations: 17.3 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2342, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002314/0.2366, allocations: 1.547 MB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.2408, allocations: 3.023 MB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.241, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2412, allocations: 47.73 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.2417, allocations: 127.5 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.403e-05/0.2418, allocations: 19.97 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.242, allocations: 119.7 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2421, allocations: 25.66 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2424, allocations: 71.7 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2425, allocations: 75.61 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2426, allocations: 4 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.2427, allocations: 19.98 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.2428, allocations: 31.89 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2428, allocations: 53.58 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.243, allocations: 115.7 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.243, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.243, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.243, allocations: 0 / 0.9833 GB, free: 23.08 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.001086/0.2441, allocations: 0.4983 MB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2442, allocations: 8.031 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.2443, allocations: 23.77 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.2447, allocations: 233.7 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2447, allocations: 8 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.2448, allocations: 4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.2453, allocations: 149.5 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2453, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2453, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.2454, allocations: 15.98 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.2462, allocations: 163.7 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.2471, allocations: 464.5 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.2478, allocations: 182.5 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2479, allocations: 0 / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2479, allocations: 38.52 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.2479, allocations: 0 / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001365/0.2493, allocations: 319.3 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2493, allocations: 55.41 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2496, allocations: 209 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2496, allocations: 25.7 kB / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.2497, allocations: 128 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.2498, allocations: 51.38 kB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.2498, allocations: 4 kB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.2499, allocations: 326.8 kB / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.2503, allocations: 80.19 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.2507, allocations: 91.92 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.2512, allocations: 87.94 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2512, allocations: 0 / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009006/0.2521, allocations: 230 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2521, allocations: 9.703 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2521, allocations: 7.891 kB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2522, allocations: 0 / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.2526, allocations: 39.97 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2526, allocations: 4 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2529, allocations: 19.98 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.253, allocations: 3.984 kB / 0.9867 GB, free: 19.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2531, allocations: 131.7 kB / 0.9868 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.2532, allocations: 19.72 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.2532, allocations: 29.83 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2533, allocations: 3.953 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2533, allocations: 3.938 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2533, allocations: 8 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.2536, allocations: 261.5 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2536, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.2541, allocations: 35.97 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2541, allocations: 0 / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.2541, allocations: 4 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2541, allocations: 3.984 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2541, allocations: 3.953 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.2551, allocations: 340 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.2552, allocations: 112.9 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.2553, allocations: 3.984 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.2556, allocations: 19.98 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.2557, allocations: 11.94 kB / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2557, allocations: 4 kB / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000153/0.2559, allocations: 160.5 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2559, allocations: 0 / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003667/0.2563, allocations: 32 kB / 0.9878 GB, free: 18.2 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 (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.0001654/0.2565, allocations: 111.2 kB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008622/0.2573, allocations: 193.9 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2574, allocations: 0 / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.2578, allocations: 107.9 kB / 0.9882 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2582, allocations: 20.42 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2593, allocations: 0.4935 MB / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2595, allocations: 0.7355 MB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002911/0.2598, allocations: 52.58 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.726e-05/0.2599, allocations: 19.42 kB / 0.9895 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.2599, allocations: 0 / 0.9895 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.005776/0.2657, allocations: 1.588 MB / 0.991 GB, free: 14.84 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)