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.001666/0.001666, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 192.2 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.83 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3364, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003247/0.3397, allocations: 1.976 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3409, allocations: 0.6897 MB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.341, allocations: 4 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.3412, allocations: 19.73 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.3413, allocations: 19.81 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3416, allocations: 91.77 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3419, allocations: 159.5 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.342, allocations: 76.61 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3422, allocations: 63.77 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3423, allocations: 67.62 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3423, allocations: 12 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3425, allocations: 63.89 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3426, allocations: 67.81 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.3427, allocations: 103.3 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.343, allocations: 255.4 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3431, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3431, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3431, allocations: 4 kB / 1.072 GB, free: 6.77 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.0009253/0.344, allocations: 0.5336 MB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3441, allocations: 8.031 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.3458, allocations: 427.8 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.3462, allocations: 311.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.3463, allocations: 68.19 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3463, allocations: 8.375 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.3471, allocations: 396.4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3472, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.3472, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3472, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3485, allocations: 0.5353 MB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.3502, allocations: 1.009 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.3509, allocations: 298.2 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.3515, allocations: 268.6 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3515, allocations: 4 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3515, allocations: 38.55 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3516, allocations: 3.938 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001922/0.3535, allocations: 0.7859 MB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.3536, allocations: 59.41 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.3539, allocations: 290.7 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3539, allocations: 29.69 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.354, allocations: 156.1 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.354, allocations: 19.75 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3541, allocations: 37.67 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3543, allocations: 334.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.3549, allocations: 259.8 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.3555, allocations: 255.8 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3566, allocations: 448.9 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3566, allocations: 0 / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001275/0.3579, allocations: 0.536 MB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3579, allocations: 8 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3579, allocations: 0 / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3579, allocations: 0 / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.3584, allocations: 91.83 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3584, allocations: 0 / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3587, allocations: 71.86 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3587, allocations: 11.98 kB / 1.079 GB, free: 15.3 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.0001448/0.3589, allocations: 146.2 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.3589, allocations: 19.72 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.359, allocations: 25.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.359, allocations: 4 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.359, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.359, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.3595, allocations: 436.4 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3596, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.3599, allocations: 95.77 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3599, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.36, allocations: 11.97 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.36, allocations: 0 / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.36, allocations: 0 / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3613, allocations: 0.6354 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.3614, allocations: 100.8 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3614, allocations: 8 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.3618, allocations: 71.88 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.3618, allocations: 7.984 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3619, allocations: 11.98 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001986/0.3621, allocations: 221.9 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3621, allocations: 0 / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002939/0.3624, allocations: 39.84 kB / 1.081 GB, free: 13.4 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.0001611/0.3625, allocations: 112 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.3639, allocations: 0.5229 MB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3639, allocations: 4 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.3645, allocations: 283.7 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.3648, allocations: 17.06 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.366, allocations: 0.5873 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3663, allocations: 0.7474 MB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.3665, allocations: 57.42 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3666, allocations: 31.39 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3667, allocations: 0 / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.00591/0.3726, allocations: 2.83 MB / 1.086 GB, free: 8.152 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)