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.001241/0.001241, 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.001244/0.001243, allocations: 193 kB / 16.13 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.06/2.06, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5195, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002554/0.5221, allocations: 2.034 MB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.523, allocations: 0.6788 MB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.5231, allocations: 2.969 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.5232, allocations: 15.86 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.5233, allocations: 14.98 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.5236, allocations: 69.91 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.5237, allocations: 137 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.5239, allocations: 89.95 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.524, allocations: 65.84 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.5241, allocations: 59.67 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.5241, allocations: 12.39 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.5242, allocations: 60.2 kB / 0.9522 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.5243, allocations: 61.72 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.5244, allocations: 88.03 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.5246, allocations: 255 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5246, allocations: 1.625 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5246, allocations: 0 / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5246, allocations: 0 / 0.9526 GB, free: 6.395 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.0005968/0.5252, allocations: 0.5374 MB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5253, allocations: 10 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.5253, allocations: 42.12 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.5269, allocations: 426.6 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.5272, allocations: 312.2 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.5273, allocations: 67.75 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.5273, allocations: 16.78 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.5281, allocations: 383.8 kB / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5281, allocations: 0 / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.5281, allocations: 5.219 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5281, allocations: 2.906 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.5293, allocations: 0.539 MB / 0.9549 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.5307, allocations: 1.001 MB / 0.9558 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.5313, allocations: 289.6 kB / 0.9561 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.5319, allocations: 282.2 kB / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5319, allocations: 0 / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.5319, allocations: 32.38 kB / 0.9564 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.5319, allocations: 0 / 0.9564 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00172/0.5337, allocations: 0.7796 MB / 0.9572 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.5337, allocations: 52.47 kB / 0.9572 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.5339, allocations: 303.1 kB / 0.9575 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.534, allocations: 26.61 kB / 0.9575 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.534, allocations: 153.3 kB / 0.9577 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.5341, allocations: 22.44 kB / 0.9577 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.5342, allocations: 41.11 kB / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.5342, allocations: 340.1 kB / 0.9581 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.5348, allocations: 259.4 kB / 0.9583 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.5353, allocations: 263.4 kB / 0.9586 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.5363, allocations: 435.9 kB / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5363, allocations: 0 / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001141/0.5375, allocations: 0.5349 MB / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5375, allocations: 8.625 kB / 0.9595 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5375, allocations: 3.938 kB / 0.9595 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5375, allocations: 5.062 kB / 0.9595 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.5379, allocations: 92.45 kB / 0.9596 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5379, allocations: 1.188 kB / 0.9596 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.5382, allocations: 75.36 kB / 0.9597 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.5382, allocations: 11.72 kB / 0.9597 GB, free: 1.766 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.0001031/0.5383, allocations: 140.7 kB / 0.9598 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.5384, allocations: 24.73 kB / 0.9599 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.5385, allocations: 26.59 kB / 0.9599 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5385, allocations: 1.312 kB / 0.9599 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5385, allocations: 4 kB / 0.9599 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5385, allocations: 3.984 kB / 0.9599 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.5388, allocations: 436.1 kB / 0.9603 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5388, allocations: 1.281 kB / 0.9603 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.5392, allocations: 96.48 kB / 0.9604 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5392, allocations: 1.531 kB / 0.9604 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.5392, allocations: 6.328 kB / 0.9604 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5392, allocations: 0 / 0.9604 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5392, allocations: 0 / 0.9604 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.5404, allocations: 0.6352 MB / 0.961 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.5405, allocations: 96.83 kB / 0.9611 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.5405, allocations: 1.156 kB / 0.9611 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.5409, allocations: 75.02 kB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.5409, allocations: 11.45 kB / 0.9612 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.541, allocations: 7.203 kB / 0.9612 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001716/0.5411, allocations: 214.6 kB / 0.9614 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5411, allocations: 0 / 0.9614 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000298/0.5414, allocations: 49.59 kB / 0.9615 GB, free: 0.5156 MB / 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.001444/0.5429, allocations: 1.176 MB / 0.9626 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.5442, allocations: 0.5251 MB / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5442, allocations: 0 / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.5448, allocations: 281.5 kB / 0.9634 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.5451, allocations: 16.81 kB / 0.9634 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.5511, allocations: 3.939 MB / 0.9673 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5514, allocations: 0.7534 MB / 0.968 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.5517, allocations: 52.14 kB / 0.968 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5518, allocations: 85.84 kB / 0.9681 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.5518, allocations: 3.938 kB / 0.9681 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/0.769, allocations: 4.746 MB / 0.9728 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.7692, allocations: 222.8 kB / 0.973 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.635, allocations: 2.031 kB / 0.973 GB, free: 9.266 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)