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.0006459/0.0006459, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008218/0.001468, 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.0006716/0.0006716, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.001923, 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.9357/0.9357, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.054, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.927/1.927, allocations: 389.9 MB / 0.619 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5182/2.445, allocations: 127.1 MB / 0.7432 GB, free: 4.652 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.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.953e-06/1.953e-06, allocations: 0 / 0.7445 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.082e-05, allocations: 10.25 kB / 0.7445 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002629/0.00266, allocations: 1.665 MB / 0.7461 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.003384, allocations: 0.5037 MB / 0.7466 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.003455, allocations: 1.75 kB / 0.7466 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.003489, allocations: 7.922 kB / 0.7466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.003541, allocations: 4.047 kB / 0.7466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.003723, allocations: 47.05 kB / 0.7467 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003869, allocations: 75.55 kB / 0.7467 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.003982, allocations: 15.97 kB / 0.7468 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.004175, allocations: 55.17 kB / 0.7468 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.004265, allocations: 28.55 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.004288, allocations: 4.625 kB / 0.7468 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.004383, allocations: 16 kB / 0.7469 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.004407, allocations: 15.16 kB / 0.7469 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.004443, allocations: 12 kB / 0.7469 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.0046, allocations: 47.83 kB / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.156e-05/0.004622, allocations: 0 / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004623, allocations: 0 / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.004645, allocations: 0 / 0.7469 GB, free: 0.8906 MB / 0.7136 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.0005782/0.005223, allocations: 284.4 kB / 0.7472 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.005261, allocations: 12.03 kB / 0.7472 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.005425, allocations: 98.73 kB / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005572, allocations: 122.4 kB / 0.7474 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.005594, allocations: 12.36 kB / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.005614, allocations: 4.906 kB / 0.7474 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005728, allocations: 83.47 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005736, allocations: 192 / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005749, allocations: 13.84 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005755, allocations: 3.938 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.005796, allocations: 15.94 kB / 0.7475 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.006101, allocations: 181.2 kB / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.006291, allocations: 71.19 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.00632, allocations: 28.78 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.006338, allocations: 0.5938 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.006512, allocations: 96.66 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.006513, allocations: 1.5 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001828/0.006696, allocations: 101.6 kB / 0.748 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.006746, allocations: 55.34 kB / 0.7481 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.006812, allocations: 114.7 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.00683, allocations: 31.45 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.006872, allocations: 92.34 kB / 0.7483 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.006907, allocations: 31.73 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.006948, allocations: 29.64 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.007046, allocations: 322.8 kB / 0.7487 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.007064, allocations: 10.44 kB / 0.7487 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.007098, allocations: 29.69 kB / 0.7487 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.007157, allocations: 49.61 kB / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.007161, allocations: 4 kB / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.83e-05/0.007259, allocations: 70.05 kB / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.007276, allocations: 10.59 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007281, allocations: 4.531 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007292, allocations: 1.188 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.007362, allocations: 19.92 kB / 0.7488 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.007366, allocations: 0 / 0.7488 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.007397, allocations: 9.344 kB / 0.7489 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007402, allocations: 0 / 0.7489 GB, free: 14.74 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 8.441e-05/0.007487, allocations: 117.8 kB / 0.749 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.0075, allocations: 8.5 kB / 0.749 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.007531, allocations: 25.11 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007533, allocations: 3.938 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007535, allocations: 5.719 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.00754, allocations: 0 / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.678e-05/0.007627, allocations: 85.83 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007628, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.007673, allocations: 11.98 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.007682, allocations: 10.75 kB / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.007684, allocations: 0 / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007695, allocations: 7.938 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007696, allocations: 4 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007697, allocations: 0 / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.00787, allocations: 133 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.007888, allocations: 11.94 kB / 0.7493 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.007913, allocations: 7.266 kB / 0.7493 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.007963, allocations: 23.94 kB / 0.7493 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007971, allocations: 7.938 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.007989, allocations: 16.84 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007989, allocations: 0 / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001101/0.008099, allocations: 23.94 kB / 0.7493 GB, free: 14.21 MB / 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.0001435/0.008242, allocations: 86.78 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.008347, allocations: 54.12 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.008352, allocations: 0 / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.008401, allocations: 44.77 kB / 0.7495 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.008528, allocations: 20.64 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.009447, allocations: 209.4 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.009483, allocations: 63.34 kB / 0.7498 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.00952, allocations: 7.547 kB / 0.7498 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.009584, allocations: 67.36 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.009584, allocations: 0.9375 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.003075/0.01266, allocations: 1.225 MB / 0.7511 GB, free: 12.45 MB / 0.7292 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: 4.9261659020558]