Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 165.3 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 204.7 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.897/1.897, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.549e-05, allocations: 8.375 kB / 0.7754 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002944/0.00297, allocations: 1.648 MB / 0.777 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004391, allocations: 0.8102 MB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.004462, allocations: 4 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.004505, allocations: 7.922 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.004592, allocations: 14.5 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.005022, allocations: 99.7 kB / 0.7779 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.005162, allocations: 61.14 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.00526, allocations: 15.98 kB / 0.778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.005425, allocations: 43.78 kB / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.00549, allocations: 15.92 kB / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005508, allocations: 4 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.005682, allocations: 78.67 kB / 0.7781 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.005696, allocations: 7.984 kB / 0.7781 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.005723, allocations: 19.92 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005911, allocations: 107.6 kB / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.005915, allocations: 0 / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.734e-06/0.005916, allocations: 0 / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.00592, allocations: 0 / 0.7782 GB, free: 2.367 MB / 0.7292 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.0003801/0.0063, allocations: 274.9 kB / 0.7785 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.006342, allocations: 9.344 kB / 0.7785 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.006677, allocations: 40.84 kB / 0.7786 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.006853, allocations: 138.1 kB / 0.7787 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.006863, allocations: 1.312 kB / 0.7787 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.006878, allocations: 4.375 kB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.007072, allocations: 76.19 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.00708, allocations: 192 / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.007091, allocations: 1 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007099, allocations: 3.938 kB / 0.7788 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.007159, allocations: 25.39 kB / 0.7788 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.007507, allocations: 184.3 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.007621, allocations: 35.75 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.007654, allocations: 22.66 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.00767, allocations: 0 / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.007694, allocations: 34.56 kB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007695, allocations: 0 / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001773/0.007872, allocations: 66.36 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.007907, allocations: 51.91 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.007989, allocations: 129 kB / 0.7793 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.008001, allocations: 26.98 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.008037, allocations: 92.06 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.008063, allocations: 11.84 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.008109, allocations: 26.56 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.008193, allocations: 318.8 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.008221, allocations: 4.625 kB / 0.7798 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.008246, allocations: 12.67 kB / 0.7798 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.008303, allocations: 20.84 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008305, allocations: 1.75 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.353e-05/0.008399, allocations: 53.61 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008413, allocations: 6.812 kB / 0.7798 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.008421, allocations: 7.938 kB / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.008432, allocations: 4.594 kB / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.008532, allocations: 12.97 kB / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008535, allocations: 0 / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.008572, allocations: 4.531 kB / 0.7799 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.008582, allocations: 5.125 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 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 6.689e-05/0.008649, allocations: 113.8 kB / 0.78 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.008677, allocations: 4 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.008714, allocations: 13.69 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008717, allocations: 0 / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008719, allocations: 4 kB / 0.78 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.008722, allocations: 0.6875 kB / 0.78 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.008872, allocations: 85.86 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008874, allocations: 0.8125 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.008946, allocations: 15.97 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.008948, allocations: 1.125 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.008956, allocations: 0 / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008958, allocations: 0 / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.00896, allocations: 9.625 kB / 0.7801 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009096, allocations: 143.9 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.009108, allocations: 7.953 kB / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.009123, allocations: 4.047 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.009196, allocations: 9.062 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.009227, allocations: 7.938 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.009236, allocations: 5.016 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.009259, allocations: 16.84 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009259, allocations: 3.938 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002384/0.009498, allocations: 41.42 kB / 0.7803 GB, free: 52 kB / 0.7292 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.0002079/0.009706, allocations: 96.34 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.009813, allocations: 38.03 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.009816, allocations: 0 / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.009853, allocations: 24.83 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01003, allocations: 9.375 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.01061, allocations: 173.3 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.01065, allocations: 60.22 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.01072, allocations: 15.92 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.01079, allocations: 55.36 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.0108, allocations: 2.75 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.003456/0.01425, allocations: 1.202 MB / 0.782 GB, free: 14.4 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.788805975578725]