Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.008679/0.00868, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003894, allocations: 10 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4281, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002062/0.4302, allocations: 1.255 MB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.4316, allocations: 0.752 MB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.4316, allocations: 3.938 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.4316, allocations: 11.92 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.4317, allocations: 11.92 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.4321, allocations: 79.11 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.4322, allocations: 43.8 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.4323, allocations: 15.98 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.4324, allocations: 23.92 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.4325, allocations: 19.91 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4325, allocations: 4 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.4327, allocations: 63.89 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.4327, allocations: 3.938 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.4328, allocations: 53.55 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.433, allocations: 92.05 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.433, allocations: 7.938 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.433, allocations: 0 / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.433, allocations: 4 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004608/0.4335, allocations: 367.3 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4335, allocations: 8.031 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.4339, allocations: 24.91 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.434, allocations: 172.2 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.434, allocations: 8.375 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.434, allocations: 384 / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.4343, allocations: 89.94 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.4343, allocations: 0 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4343, allocations: 0 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4343, allocations: 0 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.4346, allocations: 83.88 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4352, allocations: 324.4 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.4354, allocations: 78.53 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4356, allocations: 44.92 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4356, allocations: 4 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4357, allocations: 30.56 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4357, allocations: 3.938 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/0.4362, allocations: 149.8 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.4363, allocations: 55.41 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.4364, allocations: 121.8 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4364, allocations: 25.7 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.4365, allocations: 95.98 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.4365, allocations: 7.844 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4365, allocations: 13.72 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.4368, allocations: 326.8 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4369, allocations: 35.97 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.437, allocations: 35.92 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.4374, allocations: 76.75 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4374, allocations: 0 / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/0.4378, allocations: 117.6 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4378, allocations: 4 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4378, allocations: 0 / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4378, allocations: 0 / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.438, allocations: 19.97 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.438, allocations: 4 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.4381, allocations: 11.91 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4381, allocations: 3.984 kB / 1.079 GB, free: 2.547 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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 0.00011/0.4382, allocations: 117.8 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.4382, allocations: 0 / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.4383, allocations: 15.89 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4383, allocations: 4 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4383, allocations: 3.938 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4383, allocations: 3.984 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.4386, allocations: 189.6 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4386, allocations: 0 / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4387, allocations: 19.98 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4387, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4387, allocations: 7.984 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4387, allocations: 0 / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4388, allocations: 0 / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.4391, allocations: 211.3 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.4392, allocations: 85.02 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4392, allocations: 4 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4393, allocations: 11.98 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.4394, allocations: 4 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.4394, allocations: 3.984 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.4394, allocations: 95.22 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4394, allocations: 3.938 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000268/0.4397, allocations: 27.98 kB / 1.08 GB, free: 1.652 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0001892/0.4399, allocations: 127.2 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.4403, allocations: 79.94 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4403, allocations: 0 / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4404, allocations: 43.97 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4407, allocations: 13.66 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.4412, allocations: 190.5 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4416, allocations: 0.6848 MB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.241e-05/0.4417, allocations: 24.28 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.4417, allocations: 11.42 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4417, allocations: 4 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of Templates: time 0.003383/0.4451, allocations: 0.988 MB / 1.082 GB, free: 15.43 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1)