Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108 kB / 15.6 MB, free: 132 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.001797/0.001797, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.14 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5362, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002846/0.539, allocations: 1.962 MB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009567/0.54, allocations: 0.6863 MB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.5401, allocations: 6.625 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.5402, allocations: 21.28 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.5403, allocations: 18.66 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.5406, allocations: 84.41 kB / 0.9524 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.5408, allocations: 145.6 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.5409, allocations: 89.7 kB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.541, allocations: 71.62 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.5411, allocations: 66.22 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.5412, allocations: 15.16 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.5413, allocations: 59.77 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.5414, allocations: 70 kB / 0.9529 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.5415, allocations: 95.59 kB / 0.953 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.5417, allocations: 261.3 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5417, allocations: 5.125 kB / 0.9533 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.21e-07/0.5417, allocations: 0 / 0.9533 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5417, allocations: 0 / 0.9533 GB, free: 6.352 MB / 0.7169 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.0006154/0.5423, allocations: 0.5383 MB / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5424, allocations: 9.406 kB / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.5424, allocations: 50.8 kB / 0.9539 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.5441, allocations: 418.5 kB / 0.9543 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.5444, allocations: 315.1 kB / 0.9546 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.5445, allocations: 73.02 kB / 0.9546 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.5445, allocations: 12.25 kB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.5452, allocations: 379.2 kB / 0.955 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5453, allocations: 1.031 kB / 0.955 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.5453, allocations: 4.969 kB / 0.955 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5453, allocations: 2.438 kB / 0.955 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5464, allocations: 0.5459 MB / 0.9556 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5479, allocations: 1.007 MB / 0.9565 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.5485, allocations: 293.2 kB / 0.9568 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.5491, allocations: 273 kB / 0.9571 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5491, allocations: 4.906 kB / 0.9571 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.5491, allocations: 31.66 kB / 0.9571 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.5491, allocations: 0 / 0.9571 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001992/0.5511, allocations: 0.7801 MB / 0.9579 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5512, allocations: 52.41 kB / 0.9579 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.5516, allocations: 303.6 kB / 0.9582 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.5516, allocations: 25.7 kB / 0.9582 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5517, allocations: 162 kB / 0.9584 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.5518, allocations: 21.92 kB / 0.9584 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.5519, allocations: 37.31 kB / 0.9584 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.552, allocations: 336.1 kB / 0.9588 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.5526, allocations: 255.6 kB / 0.959 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.5532, allocations: 267.7 kB / 0.9593 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5544, allocations: 439.7 kB / 0.9597 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5544, allocations: 0 / 0.9597 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001271/0.5556, allocations: 0.534 MB / 0.9602 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5557, allocations: 5.281 kB / 0.9602 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5557, allocations: 1.156 kB / 0.9602 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5557, allocations: 0 / 0.9602 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.5561, allocations: 98.73 kB / 0.9603 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5561, allocations: 7.922 kB / 0.9603 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.5564, allocations: 66.91 kB / 0.9604 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.5565, allocations: 7.547 kB / 0.9604 GB, free: 1.719 MB / 0.7169 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.0001219/0.5566, allocations: 148.5 kB / 0.9605 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.5567, allocations: 24.69 kB / 0.9606 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.5567, allocations: 25.77 kB / 0.9606 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5567, allocations: 2.219 kB / 0.9606 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5567, allocations: 0 / 0.9606 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5567, allocations: 0 / 0.9606 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.5572, allocations: 440.5 kB / 0.961 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5572, allocations: 0 / 0.961 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.5575, allocations: 96.83 kB / 0.9611 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5576, allocations: 0.9375 kB / 0.9611 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.5576, allocations: 6.203 kB / 0.9611 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5576, allocations: 1.062 kB / 0.9611 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5576, allocations: 0 / 0.9611 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.5588, allocations: 0.636 MB / 0.9617 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.5589, allocations: 96.39 kB / 0.9618 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.5589, allocations: 4.906 kB / 0.9618 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.5593, allocations: 74.42 kB / 0.9619 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5593, allocations: 7.266 kB / 0.9619 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5594, allocations: 15.39 kB / 0.9619 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5595, allocations: 219.5 kB / 0.9621 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5596, allocations: 0 / 0.9621 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003236/0.5599, allocations: 40.84 kB / 0.9622 GB, free: 468 kB / 0.7169 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.001553/0.5614, allocations: 1.18 MB / 0.9633 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.5627, allocations: 0.523 MB / 0.9638 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5628, allocations: 0 / 0.9638 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.5634, allocations: 280.3 kB / 0.9641 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.5637, allocations: 13.09 kB / 0.9641 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.57, allocations: 3.904 MB / 0.9679 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5703, allocations: 0.7477 MB / 0.9686 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.5705, allocations: 56.89 kB / 0.9687 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.5707, allocations: 83.25 kB / 0.9688 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.5707, allocations: 0 / 0.9688 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/0.739, allocations: 5.014 MB / 0.9737 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.399, allocations: 17.55 kB / 0.9737 GB, free: 8.938 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)