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.0006783/0.0006783, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009399/0.001618, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006899/0.0006899, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009212/0.001611, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9205/0.9205, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07839/0.9989, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.941/1.941, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4687/2.41, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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 2.856e-06/2.856e-06, allocations: 3.984 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.426e-05, allocations: 6.281 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002862/0.002886, allocations: 1.638 MB / 0.7464 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.004104, allocations: 0.8253 MB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.004167, allocations: 0 / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.004195, allocations: 8.469 kB / 0.7472 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.004253, allocations: 17.39 kB / 0.7473 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.004589, allocations: 93.3 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004721, allocations: 64.02 kB / 0.7474 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004803, allocations: 19.92 kB / 0.7474 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004963, allocations: 44.38 kB / 0.7475 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.005029, allocations: 16.61 kB / 0.7475 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.005046, allocations: 4.594 kB / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.005228, allocations: 75.86 kB / 0.7476 GB, free: 468 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.005248, allocations: 13.44 kB / 0.7476 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.00527, allocations: 11.94 kB / 0.7476 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005462, allocations: 91.73 kB / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.005475, allocations: 0 / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005476, allocations: 1.031 kB / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.005491, allocations: 0 / 0.7477 GB, free: 352 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.0004243/0.005916, allocations: 292.9 kB / 0.748 GB, free: 36 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.00595, allocations: 12.03 kB / 0.748 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.006353, allocations: 119.2 kB / 0.7481 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.006525, allocations: 135.2 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.006535, allocations: 4.375 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.006549, allocations: 384 / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.006719, allocations: 77.19 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006728, allocations: 4.172 kB / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.006738, allocations: 384 / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.006747, allocations: 7.938 kB / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.006794, allocations: 18.36 kB / 0.7483 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.007102, allocations: 180.2 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.007213, allocations: 46.61 kB / 0.7485 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.007239, allocations: 10.36 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.007257, allocations: 4 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.00728, allocations: 30.56 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.007281, allocations: 3.938 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.00745, allocations: 62.94 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.007481, allocations: 55.41 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.007563, allocations: 129 kB / 0.7488 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.007577, allocations: 25.7 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.007615, allocations: 88.12 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.00764, allocations: 19.83 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.00768, allocations: 13.7 kB / 0.749 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.007768, allocations: 322.8 kB / 0.7493 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.007799, allocations: 14.73 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.007821, allocations: 4 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.007878, allocations: 24.78 kB / 0.7493 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00788, allocations: 0 / 0.7493 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.904e-05/0.007979, allocations: 49.67 kB / 0.7494 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.007993, allocations: 8 kB / 0.7494 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007999, allocations: 6.688 kB / 0.7494 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.008012, allocations: 0 / 0.7494 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.008121, allocations: 15.97 kB / 0.7494 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.008124, allocations: 0 / 0.7494 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.008163, allocations: 7.984 kB / 0.7494 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008172, allocations: 0 / 0.7494 GB, free: 14.43 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.706e-05/0.008239, allocations: 114.6 kB / 0.7495 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.008268, allocations: 7.938 kB / 0.7495 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.008305, allocations: 13.45 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008307, allocations: 0 / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.00831, allocations: 4 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008313, allocations: 1.438 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.00845, allocations: 81.88 kB / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008451, allocations: 0 / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.008526, allocations: 20.61 kB / 0.7496 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.008536, allocations: 7.953 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.008538, allocations: 0.8594 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.008549, allocations: 5.688 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.008551, allocations: 3.938 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008552, allocations: 0 / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.008687, allocations: 147.5 kB / 0.7498 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.008701, allocations: 0.8438 kB / 0.7498 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.008775, allocations: 7.984 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.008809, allocations: 13.19 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.008817, allocations: 3.984 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.008845, allocations: 23.22 kB / 0.7498 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008845, allocations: 1.688 kB / 0.7498 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002408/0.009086, allocations: 35.8 kB / 0.7499 GB, free: 13.91 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.000179/0.009265, allocations: 104.3 kB / 0.75 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.009371, allocations: 33.7 kB / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.009376, allocations: 0 / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.009421, allocations: 25.98 kB / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.009638, allocations: 41.69 kB / 0.7501 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.0112, allocations: 166.1 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.263e-05/0.01124, allocations: 60.52 kB / 0.7503 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.297e-05/0.01131, allocations: 15.77 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.01139, allocations: 55.38 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.01139, allocations: 4.531 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.003582/0.01497, allocations: 1.245 MB / 0.7516 GB, free: 12.19 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.758364018052816]