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.001462/0.001462, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001379/0.001379, allocations: 161 kB / 24.17 MB, free: 332 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.046/2.046, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.463e-06/1.463e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.586e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001795/0.001811, allocations: 1.606 MB / 0.7768 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.002719, allocations: 0.8193 MB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.002769, allocations: 4 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.002794, allocations: 3.938 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.002859, allocations: 13.39 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.003155, allocations: 105.3 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.003255, allocations: 63.44 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/0.003321, allocations: 8 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.003422, allocations: 43.83 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.003469, allocations: 23.86 kB / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003481, allocations: 4 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.003587, allocations: 71.92 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.003597, allocations: 0 / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.003616, allocations: 15.94 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003748, allocations: 107.6 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003751, allocations: 4 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003751, allocations: 2.75 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.003754, allocations: 0 / 0.778 GB, free: 2.531 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.0002626/0.004016, allocations: 276.6 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004048, allocations: 9.344 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.004266, allocations: 50.08 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.00438, allocations: 129.6 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.004388, allocations: 5.531 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004398, allocations: 4.375 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.004513, allocations: 71.91 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.004518, allocations: 192 / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.00453, allocations: 4.375 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004535, allocations: 4.531 kB / 0.7785 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.004571, allocations: 16.7 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.004778, allocations: 181.8 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.004854, allocations: 43.39 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.004877, allocations: 20.94 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.004888, allocations: 1.188 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.004907, allocations: 38.56 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004908, allocations: 0 / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001165/0.005025, allocations: 62.77 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.00505, allocations: 55.34 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.005108, allocations: 126.5 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.005117, allocations: 25.7 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.005142, allocations: 88.12 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.00516, allocations: 16.62 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.005188, allocations: 21.69 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.005255, allocations: 319.3 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.005272, allocations: 4.875 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.005291, allocations: 12.17 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.005328, allocations: 30.34 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005329, allocations: 0 / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.819e-05/0.005387, allocations: 50.28 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.005397, allocations: 7.984 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005401, allocations: 4.625 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005411, allocations: 4 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.005476, allocations: 13.7 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.005478, allocations: 0 / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.005505, allocations: 8 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.005513, allocations: 3.984 kB / 0.7796 GB, free: 0.7188 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 4.783e-05/0.005561, allocations: 110.9 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.005575, allocations: 0 / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.005599, allocations: 17.69 kB / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.0056, allocations: 0 / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.005603, allocations: 3.984 kB / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005606, allocations: 4.5 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.005693, allocations: 81.88 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005694, allocations: 0.875 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.005724, allocations: 7.984 kB / 0.7799 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005726, allocations: 4.875 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005732, allocations: 3.984 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005732, allocations: 0.5625 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.005734, allocations: 5.625 kB / 0.7799 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.005816, allocations: 151.5 kB / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005823, allocations: 3.953 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005833, allocations: 0 / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.005871, allocations: 5.219 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.005893, allocations: 11.86 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.005897, allocations: 4 kB / 0.78 GB, free: 280 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.531e-05/0.005913, allocations: 17.72 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005913, allocations: 0 / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001367/0.006049, allocations: 36.92 kB / 0.7801 GB, free: 224 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.0001072/0.006157, allocations: 104.3 kB / 0.7802 GB, free: 112 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.006225, allocations: 30.25 kB / 0.7802 GB, free: 80 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006227, allocations: 0 / 0.7802 GB, free: 80 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.006253, allocations: 21.56 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.006367, allocations: 11.98 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.006755, allocations: 178.7 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.006782, allocations: 55.36 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.006826, allocations: 18.05 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.006876, allocations: 59.36 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.006877, allocations: 0 / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.002403/0.009279, allocations: 1.205 MB / 0.7817 GB, free: 14.56 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: 5.162864543963224]