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.001868/0.001868, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.001929/0.001929, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.6/1.6, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.237/3.237, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 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 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.494e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.00315/0.003175, allocations: 1.596 MB / 1.003 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.00412, allocations: 490.7 kB / 1.003 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.004185, allocations: 3.938 kB / 1.003 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.004218, allocations: 3.938 kB / 1.003 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.004277, allocations: 11.88 kB / 1.003 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.00452, allocations: 43.88 kB / 1.003 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004658, allocations: 71.78 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.004756, allocations: 15.95 kB / 1.003 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.004916, allocations: 59.77 kB / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.004987, allocations: 19.97 kB / 1.003 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.00501, allocations: 8 kB / 1.003 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.005054, allocations: 8 kB / 1.003 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.005086, allocations: 23.91 kB / 1.003 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.005132, allocations: 19.92 kB / 1.003 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.005286, allocations: 75.81 kB / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005288, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005289, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.005295, allocations: 4 kB / 1.003 GB, free: 9.434 MB / 0.9167 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.0005966/0.005891, allocations: 298.1 kB / 1.004 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.005928, allocations: 13.34 kB / 1.004 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.006064, allocations: 12.92 kB / 1.004 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.006254, allocations: 129.6 kB / 1.004 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.006277, allocations: 8.359 kB / 1.004 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.006302, allocations: 16.31 kB / 1.004 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.006508, allocations: 78.2 kB / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.006517, allocations: 192 / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006528, allocations: 384 / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.006539, allocations: 7.938 kB / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.006677, allocations: 39.97 kB / 1.004 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.007197, allocations: 260.4 kB / 1.004 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.007472, allocations: 86.53 kB / 1.004 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.007566, allocations: 32.84 kB / 1.004 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.007582, allocations: 160 / 1.004 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.007832, allocations: 123.3 kB / 1.005 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.007833, allocations: 0 / 1.005 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0004122/0.008245, allocations: 173.5 kB / 1.005 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.008309, allocations: 63.34 kB / 1.005 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.008412, allocations: 109.8 kB / 1.005 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.00844, allocations: 29.7 kB / 1.005 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.008508, allocations: 96.31 kB / 1.005 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.008544, allocations: 23.8 kB / 1.005 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.008603, allocations: 29.7 kB / 1.005 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.008773, allocations: 322.8 kB / 1.005 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.008858, allocations: 31.92 kB / 1.005 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.008957, allocations: 47.95 kB / 1.005 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.00911, allocations: 61.7 kB / 1.006 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.009114, allocations: 4 kB / 1.006 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002421/0.009356, allocations: 121.4 kB / 1.006 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.009372, allocations: 4 kB / 1.006 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.009376, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.009389, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.009469, allocations: 15.98 kB / 1.006 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.009473, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.00955, allocations: 15.89 kB / 1.006 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.00956, allocations: 8 kB / 1.006 GB, free: 7.031 MB / 0.9167 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.0001067/0.009666, allocations: 117.8 kB / 1.006 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.009689, allocations: 11.89 kB / 1.006 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.009725, allocations: 16.44 kB / 1.006 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009727, allocations: 0 / 1.006 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.00973, allocations: 0 / 1.006 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.009736, allocations: 3.984 kB / 1.006 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.009886, allocations: 133.2 kB / 1.006 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009887, allocations: 0 / 1.006 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.009964, allocations: 11.98 kB / 1.006 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.009968, allocations: 7.938 kB / 1.006 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.009981, allocations: 4 kB / 1.006 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009983, allocations: 0 / 1.006 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.009986, allocations: 3.938 kB / 1.006 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.01041, allocations: 213.9 kB / 1.006 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.01042, allocations: 7.953 kB / 1.006 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01045, allocations: 11.94 kB / 1.006 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.01052, allocations: 11.98 kB / 1.006 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.01058, allocations: 19.91 kB / 1.006 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.01059, allocations: 8.062 kB / 1.006 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.01065, allocations: 91.27 kB / 1.006 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 1.006 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001973/0.01085, allocations: 20 kB / 1.006 GB, free: 6.289 MB / 0.9167 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.000139/0.01099, allocations: 103.2 kB / 1.006 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.01124, allocations: 95.92 kB / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01124, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01136, allocations: 47.92 kB / 1.007 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01156, allocations: 15.98 kB / 1.007 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.01206, allocations: 233 kB / 1.007 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.01213, allocations: 75.33 kB / 1.007 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.01218, allocations: 8.734 kB / 1.007 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.01221, allocations: 12.5 kB / 1.007 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.01221, allocations: 0 / 1.007 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of Templates: time 0.004218/0.01643, allocations: 1.127 MB / 1.008 GB, free: 4.562 MB / 0.9167 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: 8.82903103902936]