Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.172/2.172, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 193.5 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 118 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 46.86 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2387, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002889/0.2416, allocations: 2.026 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.2426, allocations: 0.6749 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.2427, allocations: 7.938 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2429, allocations: 11.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.243, allocations: 19.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2432, allocations: 71.88 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2434, allocations: 139.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2435, allocations: 84.58 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.2436, allocations: 55.72 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.2438, allocations: 71.61 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2438, allocations: 8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2439, allocations: 59.89 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.244, allocations: 63.77 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.2441, allocations: 83.41 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2443, allocations: 261.1 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2443, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2443, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2443, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 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.0006967/0.245, allocations: 0.5336 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2451, allocations: 11.98 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.2466, allocations: 427.8 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.2469, allocations: 311.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.247, allocations: 68.19 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.247, allocations: 12.38 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.2478, allocations: 385.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2478, allocations: 3.984 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2478, allocations: 4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2478, allocations: 4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.2489, allocations: 0.5392 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2502, allocations: 0.9938 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.2508, allocations: 294.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.2513, allocations: 272.6 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2514, allocations: 3.984 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2514, allocations: 38.56 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.2514, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.001613/0.253, allocations: 0.7859 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.253, allocations: 55.41 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2533, allocations: 294.7 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2533, allocations: 25.7 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2533, allocations: 164 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2534, allocations: 15.66 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.2535, allocations: 41.67 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.2535, allocations: 330.8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.254, allocations: 263.7 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.2545, allocations: 255.8 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.2554, allocations: 444.4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2554, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001059/0.2565, allocations: 0.5361 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2565, allocations: 4 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2565, allocations: 0 / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2565, allocations: 3.938 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.2569, allocations: 91.83 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2569, allocations: 4 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.2572, allocations: 79.72 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2572, allocations: 7.969 kB / 1.229 GB, free: 106.1 MB / 0.823 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 9.646e-05/0.2573, allocations: 145.7 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.2574, allocations: 19.81 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.2574, allocations: 25.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2574, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2574, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2574, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.2578, allocations: 444.3 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2578, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.2581, allocations: 87.83 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.2581, allocations: 4 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.2581, allocations: 11.97 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2582, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2582, allocations: 4 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2599, allocations: 1.548 MB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.26, allocations: 96.86 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.26, allocations: 3.984 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.2604, allocations: 79.88 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.2604, allocations: 11.92 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2604, allocations: 7.984 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001559/0.2606, allocations: 217.9 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2606, allocations: 0 / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003824/0.261, allocations: 39.91 kB / 1.231 GB, free: 103.3 MB / 0.823 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.0001359/0.2611, allocations: 107.2 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.2622, allocations: 0.5308 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2623, allocations: 0 / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.2628, allocations: 275.7 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2631, allocations: 21.92 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2642, allocations: 0.781 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2644, allocations: 0.7477 MB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.2646, allocations: 57.42 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.2647, allocations: 23.41 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of SimCode: time 5.61e-07/0.2647, allocations: 0 / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of Templates: time 0.004734/0.2695, allocations: 2.76 MB / 1.237 GB, free: 97.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)