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.00206/0.00206, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002088/0.002088, allocations: 214.3 kB / 23.02 MB, free: 2.957 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 1.689/1.689, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 3.472/3.472, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003791/0.003791, allocations: 73.73 kB / 1.177 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3869, allocations: 180 MB / 1.353 GB, free: 8.676 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003363/0.3902, allocations: 1.58 MB / 1.354 GB, free: 7.086 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3913, allocations: 490.8 kB / 1.355 GB, free: 6.602 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.3914, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.3914, allocations: 11.88 kB / 1.355 GB, free: 6.59 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.3915, allocations: 15.84 kB / 1.355 GB, free: 6.574 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3917, allocations: 39.89 kB / 1.355 GB, free: 6.535 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3919, allocations: 75.78 kB / 1.355 GB, free: 6.461 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.392, allocations: 7.984 kB / 1.355 GB, free: 6.453 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3922, allocations: 43.84 kB / 1.355 GB, free: 6.41 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.3923, allocations: 31.84 kB / 1.355 GB, free: 6.379 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3923, allocations: 4 kB / 1.355 GB, free: 6.375 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.3923, allocations: 8 kB / 1.355 GB, free: 6.367 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3923, allocations: 15.98 kB / 1.355 GB, free: 6.352 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.3924, allocations: 31.84 kB / 1.355 GB, free: 6.32 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3926, allocations: 67.78 kB / 1.355 GB, free: 6.254 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.3926, allocations: 0 / 1.355 GB, free: 6.254 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3926, allocations: 4 kB / 1.355 GB, free: 6.25 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3926, allocations: 0 / 1.355 GB, free: 6.25 MB / 1.042 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.0006692/0.3933, allocations: 302 kB / 1.356 GB, free: 5.926 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3933, allocations: 12.91 kB / 1.356 GB, free: 5.914 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3935, allocations: 16.94 kB / 1.356 GB, free: 5.898 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3937, allocations: 126.5 kB / 1.356 GB, free: 5.75 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3937, allocations: 8.312 kB / 1.356 GB, free: 5.742 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3938, allocations: 4.375 kB / 1.356 GB, free: 5.738 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.394, allocations: 89.95 kB / 1.356 GB, free: 5.645 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.394, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.394, allocations: 7.984 kB / 1.356 GB, free: 5.637 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.394, allocations: 0 / 1.356 GB, free: 5.637 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3942, allocations: 43.97 kB / 1.356 GB, free: 5.594 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.3947, allocations: 252.4 kB / 1.356 GB, free: 5.316 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.395, allocations: 82.48 kB / 1.356 GB, free: 5.227 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.3951, allocations: 40.83 kB / 1.356 GB, free: 5.184 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3951, allocations: 4 kB / 1.356 GB, free: 5.18 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3954, allocations: 107.4 kB / 1.356 GB, free: 5.062 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 4.448e-06/0.3954, allocations: 3.984 kB / 1.356 GB, free: 5.059 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0004622/0.3959, allocations: 181.5 kB / 1.356 GB, free: 4.875 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3959, allocations: 55.39 kB / 1.357 GB, free: 4.809 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.396, allocations: 113.8 kB / 1.357 GB, free: 4.688 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3961, allocations: 29.7 kB / 1.357 GB, free: 4.652 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.3961, allocations: 88.38 kB / 1.357 GB, free: 4.559 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.3962, allocations: 35.88 kB / 1.357 GB, free: 4.523 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.3962, allocations: 29.72 kB / 1.357 GB, free: 4.488 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3964, allocations: 322.8 kB / 1.357 GB, free: 4.164 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3965, allocations: 27.98 kB / 1.357 GB, free: 4.137 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3966, allocations: 53.62 kB / 1.357 GB, free: 4.078 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3968, allocations: 66.08 kB / 1.357 GB, free: 4.008 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3968, allocations: 4 kB / 1.357 GB, free: 4.004 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002365/0.397, allocations: 117.4 kB / 1.357 GB, free: 3.883 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.397, allocations: 4 kB / 1.357 GB, free: 3.879 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.397, allocations: 0 / 1.357 GB, free: 3.879 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.397, allocations: 7.984 kB / 1.357 GB, free: 3.871 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.3971, allocations: 8 kB / 1.357 GB, free: 3.863 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3971, allocations: 0 / 1.357 GB, free: 3.863 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.3972, allocations: 19.94 kB / 1.357 GB, free: 3.844 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3972, allocations: 0 / 1.357 GB, free: 3.844 MB / 1.042 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 0.0001378/0.3974, allocations: 129.7 kB / 1.358 GB, free: 3.707 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3974, allocations: 7.953 kB / 1.358 GB, free: 3.699 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.3974, allocations: 16.36 kB / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3974, allocations: 4 kB / 1.358 GB, free: 3.676 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3974, allocations: 4 kB / 1.358 GB, free: 3.672 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3974, allocations: 0 / 1.358 GB, free: 3.672 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3976, allocations: 129.2 kB / 1.358 GB, free: 3.516 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3976, allocations: 4 kB / 1.358 GB, free: 3.512 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.3977, allocations: 4 kB / 1.358 GB, free: 3.508 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3977, allocations: 4 kB / 1.358 GB, free: 3.504 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3977, allocations: 7.984 kB / 1.358 GB, free: 3.496 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3977, allocations: 3.984 kB / 1.358 GB, free: 3.492 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3977, allocations: 4.312 kB / 1.358 GB, free: 3.488 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.3981, allocations: 216.9 kB / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3982, allocations: 11.97 kB / 1.358 GB, free: 3.246 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3982, allocations: 4 kB / 1.358 GB, free: 3.242 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.3983, allocations: 11.92 kB / 1.358 GB, free: 3.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3983, allocations: 15.97 kB / 1.358 GB, free: 3.215 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3983, allocations: 4 kB / 1.358 GB, free: 3.211 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003573/0.3987, allocations: 95.33 kB / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.3987, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002091/0.3989, allocations: 23.94 kB / 1.358 GB, free: 3.094 MB / 1.042 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.000163/0.3991, allocations: 111.1 kB / 1.358 GB, free: 2.977 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3993, allocations: 79.95 kB / 1.358 GB, free: 2.898 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3993, allocations: 4 kB / 1.358 GB, free: 2.895 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3995, allocations: 51.89 kB / 1.358 GB, free: 2.844 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3997, allocations: 23.92 kB / 1.358 GB, free: 2.82 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.4003, allocations: 250 kB / 1.359 GB, free: 2.551 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.4004, allocations: 87.02 kB / 1.359 GB, free: 2.445 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.4005, allocations: 8.656 kB / 1.359 GB, free: 2.438 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.4005, allocations: 11.44 kB / 1.359 GB, free: 2.426 MB / 1.042 GB Notification: Performance of SimCode: time 3e-07/0.4005, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.042 GB Notification: Performance of Templates: time 0.004797/0.4053, allocations: 1.147 MB / 1.36 GB, free: 1.309 MB / 1.042 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: 10.377063928171992]