Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 101.6 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 195.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 66.88 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2174, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003626/0.2211, allocations: 1.905 MB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3426/0.5637, allocations: 3.437 MB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.5639, allocations: 0 / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.5641, allocations: 55.3 kB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.5646, allocations: 126.7 kB / 0.7902 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.785e-05/0.5646, allocations: 31.45 kB / 0.7902 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.5648, allocations: 166 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.5649, allocations: 29.59 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.5651, allocations: 83.02 kB / 0.7905 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.5652, allocations: 82.3 kB / 0.7905 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.5653, allocations: 11.69 kB / 0.7905 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.5654, allocations: 26.11 kB / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.5654, allocations: 39.16 kB / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.5655, allocations: 80.97 kB / 0.7907 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.5657, allocations: 159.1 kB / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5657, allocations: 0 / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5657, allocations: 0.5938 kB / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.5657, allocations: 3.281 kB / 0.7908 GB, free: 46.4 MB / 0.6544 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.0007024/0.5664, allocations: 0.5009 MB / 0.7913 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5664, allocations: 9.594 kB / 0.7913 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.5665, allocations: 21.84 kB / 0.7914 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.5668, allocations: 244.6 kB / 0.7916 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.5668, allocations: 4.719 kB / 0.7916 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5668, allocations: 0.9688 kB / 0.7916 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.5672, allocations: 143 kB / 0.7917 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5672, allocations: 0 / 0.7917 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5672, allocations: 0 / 0.7917 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.5672, allocations: 18.66 kB / 0.7918 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.5676, allocations: 133.2 kB / 0.7919 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.5682, allocations: 442 kB / 0.7923 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.5686, allocations: 162 kB / 0.7925 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.5689, allocations: 102.6 kB / 0.7926 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.5689, allocations: 9.156 kB / 0.7926 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.5689, allocations: 30.56 kB / 0.7926 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/0.5689, allocations: 5.031 kB / 0.7926 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007599/0.5697, allocations: 285.5 kB / 0.7929 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.5697, allocations: 54.03 kB / 0.7929 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.5699, allocations: 211.6 kB / 0.7931 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.5699, allocations: 28.89 kB / 0.7932 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.57, allocations: 118.8 kB / 0.7933 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.57, allocations: 40.25 kB / 0.7933 GB, free: 45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.5701, allocations: 34.62 kB / 0.7933 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.5701, allocations: 334.2 kB / 0.7937 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.5703, allocations: 75.36 kB / 0.7937 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.5705, allocations: 70.23 kB / 0.7938 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.5709, allocations: 160.3 kB / 0.7939 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.571, allocations: 0 / 0.7939 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004298/0.5714, allocations: 209.8 kB / 0.7941 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5714, allocations: 3.375 kB / 0.7941 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5714, allocations: 3.234 kB / 0.7942 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5715, allocations: 3.438 kB / 0.7942 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.5717, allocations: 30.25 kB / 0.7942 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5717, allocations: 4.734 kB / 0.7942 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.5719, allocations: 22.5 kB / 0.7942 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5719, allocations: 12.55 kB / 0.7942 GB, free: 44.6 MB / 0.6544 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.956e-05/0.572, allocations: 130.5 kB / 0.7943 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.572, allocations: 14.56 kB / 0.7944 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.5721, allocations: 26.84 kB / 0.7944 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5721, allocations: 3.328 kB / 0.7944 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5721, allocations: 0 / 0.7944 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5721, allocations: 2.578 kB / 0.7944 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.5723, allocations: 263.2 kB / 0.7946 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5723, allocations: 0 / 0.7946 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.5726, allocations: 40.56 kB / 0.7947 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5726, allocations: 0 / 0.7947 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5726, allocations: 6.328 kB / 0.7947 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5726, allocations: 3.5 kB / 0.7947 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5726, allocations: 1.219 kB / 0.7947 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.5731, allocations: 308 kB / 0.795 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.5732, allocations: 113.2 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.5732, allocations: 3.625 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.5734, allocations: 12.12 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.5735, allocations: 16.84 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5735, allocations: 4.719 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.919e-05/0.5736, allocations: 158.7 kB / 0.7953 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5736, allocations: 0 / 0.7953 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002702/0.5739, allocations: 39.09 kB / 0.7953 GB, free: 43.93 MB / 0.6544 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.000131/0.574, allocations: 110.5 kB / 0.7954 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004858/0.5745, allocations: 167.4 kB / 0.7956 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5745, allocations: 3.438 kB / 0.7956 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.5747, allocations: 87.81 kB / 0.7957 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5751, allocations: 24.94 kB / 0.7957 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.5758, allocations: 415.2 kB / 0.7961 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.576, allocations: 0.7273 MB / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.5761, allocations: 59.42 kB / 0.7969 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.5762, allocations: 17.02 kB / 0.7969 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5762, allocations: 0 / 0.7969 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.004333/0.5805, allocations: 1.699 MB / 0.7985 GB, free: 42.83 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)