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.0007041/0.0007041, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009207/0.001625, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006921/0.0006921, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008407/0.001533, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9311/0.9311, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0864/1.018, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.933/1.933, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4637/2.396, allocations: 127.1 MB / 0.7432 GB, free: 4.574 MB / 0.7136 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.723e-06/1.723e-06, allocations: 0 / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.234e-05, allocations: 3.188 kB / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002582/0.002594, allocations: 1.646 MB / 0.7461 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003895, allocations: 0.8269 MB / 0.7469 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.00395, allocations: 4.906 kB / 0.7469 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.003978, allocations: 4.594 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.004035, allocations: 19.67 kB / 0.7469 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.004325, allocations: 97 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.004446, allocations: 58.45 kB / 0.7471 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.004534, allocations: 15.91 kB / 0.7471 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00469, allocations: 43.91 kB / 0.7471 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.004765, allocations: 23.91 kB / 0.7472 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.004782, allocations: 0 / 0.7472 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.00496, allocations: 81.03 kB / 0.7472 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.004975, allocations: 7.938 kB / 0.7472 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.005, allocations: 12 kB / 0.7473 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.005195, allocations: 92.67 kB / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.005211, allocations: 0 / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005212, allocations: 0 / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.005231, allocations: 0.5938 kB / 0.7473 GB, free: 400 kB / 0.7136 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.0004328/0.005663, allocations: 296.9 kB / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005704, allocations: 8.031 kB / 0.7476 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.006111, allocations: 119.5 kB / 0.7477 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.006276, allocations: 133.5 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.006285, allocations: 384 / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.006297, allocations: 4.375 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.006464, allocations: 80.03 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006472, allocations: 1.406 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.006481, allocations: 384 / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.006489, allocations: 3.938 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.006551, allocations: 16.92 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.00688, allocations: 184.9 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.007002, allocations: 41.97 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.007037, allocations: 21 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.00706, allocations: 7.969 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.007084, allocations: 30.56 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.007085, allocations: 4 kB / 0.7483 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001742/0.00726, allocations: 57.61 kB / 0.7483 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.007294, allocations: 51.41 kB / 0.7484 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.007375, allocations: 130 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.00739, allocations: 29.7 kB / 0.7485 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.007428, allocations: 92.11 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.007448, allocations: 7.906 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.007488, allocations: 17.7 kB / 0.7486 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.007585, allocations: 322.8 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.007617, allocations: 4 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.007644, allocations: 11.98 kB / 0.7489 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.007702, allocations: 23.88 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007704, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.947e-05/0.007804, allocations: 49.69 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007818, allocations: 4 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.007824, allocations: 7.922 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007836, allocations: 7.938 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.007961, allocations: 19.94 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.007964, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.008008, allocations: 4 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.008019, allocations: 7.938 kB / 0.7491 GB, free: 14.47 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.561e-05/0.008085, allocations: 109.8 kB / 0.7492 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.008114, allocations: 4 kB / 0.7492 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.008147, allocations: 15.94 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008148, allocations: 0 / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00815, allocations: 0 / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008153, allocations: 1.719 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.008287, allocations: 81.86 kB / 0.7493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008288, allocations: 0 / 0.7493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.008375, allocations: 23.97 kB / 0.7493 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.008384, allocations: 5.016 kB / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008386, allocations: 0 / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.008395, allocations: 3.984 kB / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008397, allocations: 8.5 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008399, allocations: 3.531 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.008542, allocations: 143.5 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.008558, allocations: 0 / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.008638, allocations: 4 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.008671, allocations: 11.92 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.008681, allocations: 4.375 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.008705, allocations: 23.45 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.008705, allocations: 0 / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002344/0.00894, allocations: 31.88 kB / 0.7495 GB, free: 13.97 MB / 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.0001488/0.009088, allocations: 103.1 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.0092, allocations: 36.81 kB / 0.7497 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.009209, allocations: 11.94 kB / 0.7497 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.009247, allocations: 16.84 kB / 0.7497 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.009447, allocations: 17.36 kB / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.01114, allocations: 169.3 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.01118, allocations: 60.25 kB / 0.7499 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.305e-05/0.01126, allocations: 15.77 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.01134, allocations: 59.36 kB / 0.75 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.01134, allocations: 0.6562 kB / 0.75 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.003696/0.01504, allocations: 1.234 MB / 0.7512 GB, free: 12.28 MB / 0.7292 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.867040379904211]