Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001021/0.001021, allocations: 97.33 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.008016/0.008016, allocations: 169.8 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 7.812 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00239/0.336, allocations: 1.686 MB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3372, allocations: 0.6703 MB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3374, allocations: 4 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3375, allocations: 11.86 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.3376, allocations: 19.86 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3379, allocations: 75.86 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3381, allocations: 139.6 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.3383, allocations: 76.59 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3384, allocations: 47.72 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3385, allocations: 55.64 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.3386, allocations: 4 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3387, allocations: 43.95 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.3388, allocations: 63.81 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.3389, allocations: 101 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3392, allocations: 243.3 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3392, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3392, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3392, allocations: 0 / 1.077 GB, free: 4.266 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.0007572/0.34, allocations: 0.5065 MB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.34, allocations: 12.03 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.3417, allocations: 423.9 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.3421, allocations: 315.7 kB / 1.079 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3423, allocations: 72.19 kB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.3423, allocations: 16.31 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.3432, allocations: 395.3 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3432, allocations: 0 / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3432, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3432, allocations: 4 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3445, allocations: 0.5471 MB / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3463, allocations: 1.017 MB / 1.081 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.347, allocations: 298.3 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.3477, allocations: 288.6 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3477, allocations: 0 / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3477, allocations: 34.5 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3477, allocations: 3.938 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002011/0.3498, allocations: 0.8053 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3498, allocations: 51.41 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3501, allocations: 290.7 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.3502, allocations: 29.7 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3504, allocations: 156.3 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3504, allocations: 23.66 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3505, allocations: 17.72 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3506, allocations: 338.8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.3512, allocations: 259.8 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.3518, allocations: 268 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.3529, allocations: 456.5 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3529, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001255/0.3541, allocations: 0.5477 MB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3542, allocations: 5.406 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3542, allocations: 0 / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3542, allocations: 0 / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3546, allocations: 95.83 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3546, allocations: 0 / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.355, allocations: 79.86 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.355, allocations: 7.984 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.0001561/0.3552, allocations: 149.7 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.3552, allocations: 19.72 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.3553, allocations: 29.7 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3553, allocations: 4 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3553, allocations: 0 / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3553, allocations: 0 / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.3558, allocations: 432.4 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3558, allocations: 0 / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.3562, allocations: 99.83 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3562, allocations: 0 / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3563, allocations: 11.92 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3563, allocations: 0 / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3563, allocations: 0 / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.3576, allocations: 0.647 MB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.3577, allocations: 96.92 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3578, allocations: 4 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3581, allocations: 71.86 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.3582, allocations: 15.98 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3582, allocations: 7.984 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002372/0.3584, allocations: 217.9 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3585, allocations: 0 / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003251/0.3588, allocations: 43.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.0001703/0.359, allocations: 107.2 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.3603, allocations: 0.5346 MB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3603, allocations: 3.938 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.361, allocations: 279.7 kB / 1.087 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3613, allocations: 21.25 kB / 1.087 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3626, allocations: 0.6593 MB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3629, allocations: 0.7477 MB / 1.088 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.3631, allocations: 61.41 kB / 1.089 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3632, allocations: 27.41 kB / 1.089 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3632, allocations: 0 / 1.089 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of Templates: time 0.006691/0.3699, allocations: 2.656 MB / 1.091 GB, free: 5.672 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)