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.001651/0.00165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002392/0.002392, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.88 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003262/0.3276, allocations: 2.029 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3288, allocations: 0.6858 MB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.329, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3291, allocations: 11.86 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.3292, allocations: 19.84 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3295, allocations: 75.89 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3297, allocations: 143.6 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3299, allocations: 76.61 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.33, allocations: 63.7 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3301, allocations: 67.62 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3302, allocations: 11.94 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3303, allocations: 51.95 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.3304, allocations: 55.77 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.3305, allocations: 95.33 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3308, allocations: 251.4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3308, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.32e-07/0.3308, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3308, allocations: 4 kB / 1.071 GB, free: 7.219 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.0008049/0.3317, allocations: 0.5297 MB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3317, allocations: 12.03 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.3335, allocations: 419.8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.3339, allocations: 311.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.334, allocations: 72.17 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.334, allocations: 12.38 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.3349, allocations: 379.3 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3349, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.335, allocations: 8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.335, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3363, allocations: 0.5431 MB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.338, allocations: 1.005 MB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.3387, allocations: 294.3 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.3394, allocations: 272.6 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3394, allocations: 3.938 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3394, allocations: 34.56 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3395, allocations: 3.938 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001955/0.3414, allocations: 0.7859 MB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3415, allocations: 55.39 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.3418, allocations: 298.7 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3418, allocations: 25.7 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.3419, allocations: 156.1 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.342, allocations: 19.73 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.3421, allocations: 41.67 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3422, allocations: 330.8 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.3429, allocations: 259.8 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.3435, allocations: 263.7 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.3446, allocations: 444.4 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3447, allocations: 0 / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001276/0.3459, allocations: 0.5321 MB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.346, allocations: 9.562 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.346, allocations: 4.531 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.346, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.3464, allocations: 91.83 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3465, allocations: 7.875 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.3468, allocations: 67.88 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3468, allocations: 7.984 kB / 1.078 GB, free: 15.76 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.0001643/0.347, allocations: 149.8 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.3471, allocations: 19.72 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.3471, allocations: 25.7 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3472, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3472, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3472, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3477, allocations: 432.4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3477, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.3481, allocations: 95.83 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3481, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3482, allocations: 7.984 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3482, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3482, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3496, allocations: 0.647 MB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.3497, allocations: 96.83 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3497, allocations: 7.984 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.3501, allocations: 71.88 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.3501, allocations: 11.98 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.3502, allocations: 7.984 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002418/0.3504, allocations: 221.9 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3504, allocations: 0 / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000325/0.3508, allocations: 43.84 kB / 1.08 GB, free: 13.84 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.0001816/0.3509, allocations: 105.4 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.3523, allocations: 0.5268 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3523, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.3529, allocations: 275.7 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3532, allocations: 24.98 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3546, allocations: 0.6475 MB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3549, allocations: 0.7554 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.3552, allocations: 53.42 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3553, allocations: 31.41 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3553, allocations: 0 / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.006089/0.3614, allocations: 2.682 MB / 1.085 GB, free: 8.691 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)