Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008662, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006281/0.006281, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003813, allocations: 8.625 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3256, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00236/0.328, allocations: 1.682 MB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3294, allocations: 0.678 MB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.3295, allocations: 0 / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3296, allocations: 15.86 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3298, allocations: 23.84 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.3301, allocations: 75.86 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3303, allocations: 131.6 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3305, allocations: 80.61 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3306, allocations: 51.7 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3307, allocations: 51.66 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3307, allocations: 4 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3309, allocations: 47.95 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.331, allocations: 59.8 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3311, allocations: 101 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3314, allocations: 243.4 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3314, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3314, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3314, allocations: 4 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007527/0.3321, allocations: 0.5025 MB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3322, allocations: 12.03 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.334, allocations: 427.9 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3344, allocations: 319.7 kB / 1.079 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.3345, allocations: 68.19 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.3345, allocations: 12.38 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.3354, allocations: 391.3 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3354, allocations: 4 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3354, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3354, allocations: 11.98 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3368, allocations: 0.5471 MB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3386, allocations: 1.005 MB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.3393, allocations: 298.3 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.3399, allocations: 284.5 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.34, allocations: 4.141 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.34, allocations: 38.5 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.34, allocations: 0 / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002055/0.3421, allocations: 0.8092 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3421, allocations: 55.41 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3425, allocations: 294.7 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3425, allocations: 25.7 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3426, allocations: 156.2 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3427, allocations: 15.66 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3427, allocations: 17.72 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3428, allocations: 338.8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.3435, allocations: 267.7 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.3441, allocations: 267.7 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3452, allocations: 452.4 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3453, allocations: 4 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001298/0.3466, allocations: 0.5404 MB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3466, allocations: 4 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3466, allocations: 0 / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3466, allocations: 0 / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.3471, allocations: 95.83 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3471, allocations: 0 / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.3474, allocations: 79.86 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3474, allocations: 15.92 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000161/0.3476, allocations: 145.8 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.3477, allocations: 19.72 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.3477, allocations: 21.7 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3477, allocations: 0 / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3477, allocations: 4 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3478, allocations: 0 / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3482, allocations: 444.4 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3483, allocations: 0 / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3486, allocations: 91.83 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3487, allocations: 0 / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3487, allocations: 7.984 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3487, allocations: 4.078 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3487, allocations: 3.984 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3501, allocations: 0.6432 MB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.3502, allocations: 100.9 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.3502, allocations: 3.984 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.3506, allocations: 79.86 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3506, allocations: 7.984 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.3507, allocations: 15.92 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002181/0.3509, allocations: 217.9 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3509, allocations: 0 / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003192/0.3512, allocations: 39.84 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001869/0.3514, allocations: 107.2 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.3528, allocations: 0.5424 MB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3528, allocations: 0 / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.3534, allocations: 275.7 kB / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3538, allocations: 21.25 kB / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.355, allocations: 0.6672 MB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3554, allocations: 0.7477 MB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.3556, allocations: 61.36 kB / 1.089 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3557, allocations: 27.41 kB / 1.089 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3557, allocations: 0 / 1.089 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of Templates: time 0.006108/0.3618, allocations: 2.654 MB / 1.091 GB, free: 5.668 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)