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.001068/0.001068, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001388/0.001388, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 68.95 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004737/0.3609, allocations: 2.041 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3627, allocations: 0.678 MB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3629, allocations: 7.938 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3632, allocations: 15.86 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3633, allocations: 15.86 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.3639, allocations: 83.86 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.3643, allocations: 147.6 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3647, allocations: 76.62 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3649, allocations: 63.7 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3652, allocations: 71.62 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.3653, allocations: 16 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.3655, allocations: 63.89 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.3657, allocations: 67.8 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3659, allocations: 95.34 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.3665, allocations: 255.4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.3666, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3666, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.3666, allocations: 0 / 1.071 GB, free: 7.109 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.001458/0.3681, allocations: 0.5297 MB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3681, allocations: 8.031 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.3706, allocations: 431.8 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.3712, allocations: 311.8 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3713, allocations: 72.19 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.3714, allocations: 12.36 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3726, allocations: 391.3 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3726, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.3727, allocations: 4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3727, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3746, allocations: 0.5392 MB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.3771, allocations: 1.001 MB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3781, allocations: 298.2 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009777/0.3791, allocations: 272.6 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3792, allocations: 8.125 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3792, allocations: 34.56 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.968e-06/0.3792, allocations: 0 / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002627/0.3819, allocations: 0.7857 MB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3819, allocations: 51.41 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.3823, allocations: 302.7 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3824, allocations: 25.7 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3825, allocations: 152.1 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.3826, allocations: 27.67 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.3827, allocations: 37.67 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3828, allocations: 342.8 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.3834, allocations: 255.8 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.3841, allocations: 264 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3852, allocations: 440.5 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.3852, allocations: 0 / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001344/0.3866, allocations: 0.5321 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3866, allocations: 4 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3866, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3866, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.3871, allocations: 103.8 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3871, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3874, allocations: 75.86 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3874, allocations: 7.984 kB / 1.078 GB, free: 15.63 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.0001552/0.3876, allocations: 141.8 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.3877, allocations: 19.72 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.3877, allocations: 25.7 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3877, allocations: 0 / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3877, allocations: 0 / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3878, allocations: 3.984 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3883, allocations: 440.4 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3883, allocations: 8 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.3887, allocations: 91.83 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3887, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3887, allocations: 7.984 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3887, allocations: 4 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3887, allocations: 4 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3902, allocations: 0.6315 MB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.3903, allocations: 104.8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3903, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.3907, allocations: 71.86 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.3908, allocations: 8 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3908, allocations: 7.984 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000239/0.391, allocations: 221.9 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3911, allocations: 0 / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000326/0.3914, allocations: 43.84 kB / 1.08 GB, free: 13.72 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.0001946/0.3916, allocations: 103.2 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.393, allocations: 0.5307 MB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.393, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/0.3936, allocations: 275.7 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.394, allocations: 20.44 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3954, allocations: 0.6537 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.3959, allocations: 0.7474 MB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.3961, allocations: 57.42 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3963, allocations: 35.33 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.3963, allocations: 0 / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of Templates: time 0.007666/0.4039, allocations: 2.76 MB / 1.085 GB, free: 8.484 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)