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.001395/0.001395, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001313/0.001313, allocations: 159.7 kB / 24.96 MB, free: 8.715 MB / 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.9301/0.9301, allocations: 177.1 MB / 205.4 MB, free: 5.453 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.893/1.893, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 2.645e-06/2.645e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.589e-05, allocations: 2.312 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002251/0.002277, allocations: 1.681 MB / 0.7776 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.002958, allocations: 0.4982 MB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.003014, allocations: 1.312 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.003043, allocations: 3.938 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.003117, allocations: 16.42 kB / 0.7781 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.003289, allocations: 45.86 kB / 0.7782 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003396, allocations: 75.59 kB / 0.7782 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.758e-05/0.003464, allocations: 11.98 kB / 0.7783 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003593, allocations: 48.95 kB / 0.7783 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.003653, allocations: 27.89 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.003807, allocations: 8 kB / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.003858, allocations: 8.844 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.003874, allocations: 15.97 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.003902, allocations: 24.73 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.003997, allocations: 47.88 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004001, allocations: 4.875 kB / 0.7784 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004002, allocations: 3.938 kB / 0.7784 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.004004, allocations: 5.375 kB / 0.7784 GB, free: 2.863 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.0003259/0.00433, allocations: 276.7 kB / 0.7787 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.00436, allocations: 9.344 kB / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.004455, allocations: 17.58 kB / 0.7787 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.004584, allocations: 130.3 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.004601, allocations: 4.375 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.004617, allocations: 6.094 kB / 0.7789 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.004722, allocations: 90.83 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004728, allocations: 192 / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004737, allocations: 4.375 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.004743, allocations: 4.906 kB / 0.779 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.004774, allocations: 15.98 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.005009, allocations: 180.8 kB / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.00513, allocations: 67.62 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.005152, allocations: 20.84 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005165, allocations: 0.6562 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.005272, allocations: 100.3 kB / 0.7793 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.005274, allocations: 0.75 kB / 0.7793 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001344/0.005409, allocations: 109.4 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.00544, allocations: 56.09 kB / 0.7795 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.005495, allocations: 120.5 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005506, allocations: 25.7 kB / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.005537, allocations: 92.36 kB / 0.7797 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.005562, allocations: 27.78 kB / 0.7797 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.005594, allocations: 25.72 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.005659, allocations: 323.7 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.005675, allocations: 12 kB / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.005702, allocations: 29.69 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.005746, allocations: 46.2 kB / 0.7802 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005747, allocations: 1.062 kB / 0.7802 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.199e-05/0.005819, allocations: 73.55 kB / 0.7802 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005831, allocations: 11.94 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005835, allocations: 0.8125 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005846, allocations: 48 / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.005899, allocations: 24.5 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.005902, allocations: 0.9375 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.00593, allocations: 7.938 kB / 0.7803 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.005935, allocations: 0 / 0.7803 GB, free: 0.8281 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 5.614e-05/0.005991, allocations: 125.4 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.006004, allocations: 16.92 kB / 0.7804 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.006027, allocations: 16.38 kB / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006029, allocations: 0 / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006031, allocations: 0.9375 kB / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006034, allocations: 0 / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.006103, allocations: 94.67 kB / 0.7805 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006104, allocations: 0 / 0.7805 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.006138, allocations: 13.8 kB / 0.7805 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006139, allocations: 0 / 0.7805 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006147, allocations: 4 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006148, allocations: 0 / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.00615, allocations: 3.938 kB / 0.7805 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.006278, allocations: 139.7 kB / 0.7807 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.006285, allocations: 7.953 kB / 0.7807 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.006299, allocations: 7.984 kB / 0.7807 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.006318, allocations: 4 kB / 0.7807 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.006355, allocations: 19.91 kB / 0.7807 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.00636, allocations: 4 kB / 0.7807 GB, free: 356 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.182e-05/0.006372, allocations: 12.84 kB / 0.7807 GB, free: 340 kB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.006372, allocations: 5.844 kB / 0.7807 GB, free: 336 kB / 0.7292 GB Notification: Performance of remove unused functions: time 9.865e-05/0.006471, allocations: 16 kB / 0.7807 GB, free: 320 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 8.052e-05/0.006551, allocations: 90.91 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.006636, allocations: 58.31 kB / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006638, allocations: 0 / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.006681, allocations: 52.92 kB / 0.7809 GB, free: 104 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.8e-05/0.006769, allocations: 10.61 kB / 0.7809 GB, free: 96 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.007189, allocations: 233.8 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.007219, allocations: 68.44 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.007251, allocations: 7.578 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.007303, allocations: 67.36 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.007304, allocations: 0 / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.002591/0.009895, allocations: 1.217 MB / 0.7825 GB, free: 14.54 MB / 0.7448 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.935303369536996]