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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001006/0.001006, allocations: 97.95 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.007748/0.007748, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 390.9 MB / 0.6664 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.533, allocations: 142.4 MB / 0.9552 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001778/0.5348, allocations: 1.691 MB / 0.9568 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.5358, allocations: 0.6651 MB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.536, allocations: 2.125 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.5361, allocations: 12.92 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.5362, allocations: 15.34 kB / 0.9575 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.5364, allocations: 69.77 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.5366, allocations: 140.6 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.5368, allocations: 86.45 kB / 0.9578 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.5368, allocations: 45.05 kB / 0.9578 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.5369, allocations: 55.2 kB / 0.9579 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.537, allocations: 3.281 kB / 0.9579 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.5371, allocations: 55.91 kB / 0.9579 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.5372, allocations: 58.77 kB / 0.958 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.5373, allocations: 103.1 kB / 0.9581 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.5375, allocations: 249.4 kB / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5375, allocations: 0 / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5375, allocations: 0 / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5375, allocations: 0 / 0.9583 GB, free: 5.121 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.0005737/0.5381, allocations: 0.5022 MB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5381, allocations: 9.812 kB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.5382, allocations: 46.98 kB / 0.9589 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.5397, allocations: 433.9 kB / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.54, allocations: 307.9 kB / 0.9596 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.5401, allocations: 72.44 kB / 0.9597 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.5401, allocations: 12.62 kB / 0.9597 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.5409, allocations: 394.2 kB / 0.96 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5409, allocations: 0 / 0.96 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.5409, allocations: 5.375 kB / 0.96 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.541, allocations: 2.75 kB / 0.96 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5421, allocations: 0.5485 MB / 0.9606 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.5436, allocations: 1.014 MB / 0.9616 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.5442, allocations: 297.6 kB / 0.9619 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.5448, allocations: 282.5 kB / 0.9621 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.5448, allocations: 1.094 kB / 0.9621 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5448, allocations: 35.83 kB / 0.9622 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5448, allocations: 3.938 kB / 0.9622 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001765/0.5466, allocations: 0.7958 MB / 0.9629 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.5466, allocations: 52.94 kB / 0.963 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5469, allocations: 290.7 kB / 0.9633 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5469, allocations: 34.72 kB / 0.9633 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.547, allocations: 157.4 kB / 0.9635 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.547, allocations: 26.31 kB / 0.9635 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.5471, allocations: 17.72 kB / 0.9635 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.5471, allocations: 335.4 kB / 0.9638 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.5477, allocations: 262.1 kB / 0.9641 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5482, allocations: 268.2 kB / 0.9643 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5493, allocations: 454.6 kB / 0.9648 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5493, allocations: 0 / 0.9648 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001156/0.5504, allocations: 0.5409 MB / 0.9653 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5505, allocations: 8.219 kB / 0.9653 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5505, allocations: 0.9062 kB / 0.9653 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5505, allocations: 0 / 0.9653 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.5509, allocations: 96.05 kB / 0.9654 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5509, allocations: 3.984 kB / 0.9654 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.5512, allocations: 82.97 kB / 0.9655 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.5512, allocations: 7.703 kB / 0.9655 GB, free: 0.5195 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.0001065/0.5513, allocations: 149.2 kB / 0.9656 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.5514, allocations: 21.12 kB / 0.9656 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.5514, allocations: 25.92 kB / 0.9657 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5514, allocations: 0.9688 kB / 0.9657 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5514, allocations: 1 kB / 0.9657 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5514, allocations: 0 / 0.9657 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.5518, allocations: 439.7 kB / 0.9661 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5518, allocations: 1.062 kB / 0.9661 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.5522, allocations: 98.95 kB / 0.9662 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5522, allocations: 1.188 kB / 0.9662 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.5523, allocations: 7.016 kB / 0.9662 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5523, allocations: 0 / 0.9662 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5523, allocations: 0 / 0.9662 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5536, allocations: 0.6421 MB / 0.9668 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.5537, allocations: 104.3 kB / 0.9669 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.5538, allocations: 0.9688 kB / 0.9669 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.5541, allocations: 78.67 kB / 0.967 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5542, allocations: 11.11 kB / 0.967 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.5542, allocations: 7.016 kB / 0.967 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000212/0.5544, allocations: 219.3 kB / 0.9672 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5544, allocations: 0 / 0.9672 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003008/0.5547, allocations: 45 kB / 0.9673 GB, free: 15.27 MB / 0.7325 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.001579/0.5563, allocations: 1.182 MB / 0.9684 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.5576, allocations: 0.5363 MB / 0.9689 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5577, allocations: 0 / 0.9689 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.5583, allocations: 282.4 kB / 0.9692 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5586, allocations: 20.53 kB / 0.9692 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.5647, allocations: 3.988 MB / 0.9731 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.565, allocations: 0.7561 MB / 0.9739 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.5652, allocations: 51.89 kB / 0.9739 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5654, allocations: 82.72 kB / 0.974 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5654, allocations: 3.938 kB / 0.974 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9642/1.53, allocations: 4.656 MB / 0.9785 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.53, allocations: 229.5 kB / 0.9788 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/3.49, allocations: 3.938 kB / 0.9788 GB, free: 6.816 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)