Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.00124/0.00124, allocations: 80.8 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.001741/0.001741, allocations: 161 kB / 24.16 MB, free: 336 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.971/0.971, allocations: 177.2 MB / 204.6 MB, free: 5.129 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.989/1.989, allocations: 389.6 MB / 0.6354 GB, free: 12.35 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.StateOfCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0.5469 kB / 0.7752 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.462e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002333/0.002357, allocations: 1.625 MB / 0.7768 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.003219, allocations: 0.502 MB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.003283, allocations: 0 / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.003315, allocations: 4.812 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.003394, allocations: 13.44 kB / 0.7773 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.003643, allocations: 46.44 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003777, allocations: 71.78 kB / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.003857, allocations: 19.95 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.004008, allocations: 52.5 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.004083, allocations: 27.89 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.004103, allocations: 8 kB / 0.7775 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.004148, allocations: 10.75 kB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.004176, allocations: 19.97 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.004213, allocations: 19.92 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.00434, allocations: 47.88 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004343, allocations: 0 / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004345, allocations: 0 / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.004349, allocations: 0 / 0.7776 GB, free: 3.008 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003972/0.004746, allocations: 279.2 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004782, allocations: 13.28 kB / 0.7779 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.00491, allocations: 20.91 kB / 0.7779 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.00506, allocations: 129.6 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.00508, allocations: 4.375 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.005103, allocations: 8.375 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005228, allocations: 87.53 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005239, allocations: 0.875 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.00525, allocations: 4.359 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005258, allocations: 4.594 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.005295, allocations: 15.94 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.005602, allocations: 185.3 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.005756, allocations: 68.09 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.005787, allocations: 20.84 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.005799, allocations: 0 / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.005942, allocations: 100.5 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.005943, allocations: 0.7812 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000172/0.006115, allocations: 101.5 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.006155, allocations: 59.97 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.006221, allocations: 110.7 kB / 0.7787 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.006239, allocations: 34.52 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.006273, allocations: 88.34 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.006306, allocations: 29.23 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.006351, allocations: 33.69 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.006435, allocations: 318.8 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.006457, allocations: 8 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.006492, allocations: 26.36 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.006556, allocations: 59.69 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006559, allocations: 0 / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000103/0.006662, allocations: 69.61 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.006677, allocations: 11.94 kB / 0.7794 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006682, allocations: 0 / 0.7794 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.006694, allocations: 0.8125 kB / 0.7794 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.006754, allocations: 15.92 kB / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006758, allocations: 4.5 kB / 0.7794 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.006799, allocations: 16.69 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006805, allocations: 0 / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,soc.suspend,soc.discharged,$PRE.soc.discharged,soc.charged,$PRE.soc.charged,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.24e-05/0.006877, allocations: 115.3 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.006895, allocations: 11.98 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.00692, allocations: 20.36 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006923, allocations: 4.875 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.006925, allocations: 3.938 kB / 0.7796 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006928, allocations: 0.8438 kB / 0.7796 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.007021, allocations: 85.83 kB / 0.7797 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007022, allocations: 0 / 0.7797 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.007067, allocations: 9.75 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007069, allocations: 3.984 kB / 0.7797 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.007084, allocations: 4 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007086, allocations: 0 / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.007089, allocations: 8.422 kB / 0.7797 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.007263, allocations: 138.1 kB / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.007273, allocations: 7.953 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.00729, allocations: 3.938 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.007325, allocations: 12.55 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.007362, allocations: 17.03 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.00737, allocations: 4 kB / 0.7799 GB, free: 496 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.007386, allocations: 16.84 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007386, allocations: 0.7812 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001657/0.007552, allocations: 20 kB / 0.7799 GB, free: 456 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (soc.SOC) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,soc.charged,soc.discharged,soc.suspend) * Number of discrete states: 2 (soc.discharged,soc.charged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001097/0.007662, allocations: 82.36 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.007765, allocations: 59.77 kB / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.007769, allocations: 0 / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.007822, allocations: 48.7 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.007935, allocations: 19.08 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.01152, allocations: 236.8 kB / 0.7803 GB, free: 15.99 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.01181, allocations: 63.3 kB / 0.7804 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.01185, allocations: 11 kB / 0.7804 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.01192, allocations: 61.81 kB / 0.7804 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of SimCode: time 1.042e-06/0.01192, allocations: 0 / 0.7804 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of Templates: time 0.009708/0.02163, allocations: 1.217 MB / 0.7816 GB, free: 14.68 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.277173488866538]