Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_10_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.0007736/0.0007738, allocations: 97.72 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.005043/0.005043, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 0.873 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5817, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001989/0.5837, allocations: 1.694 MB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.5848, allocations: 0.6672 MB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.5849, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.186e-05/0.585, allocations: 11.86 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.5851, allocations: 11.88 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.5854, allocations: 79.86 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.5855, allocations: 143.5 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.5857, allocations: 80.59 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.5858, allocations: 51.73 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.5859, allocations: 59.62 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.5859, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.586, allocations: 51.95 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.5861, allocations: 55.7 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.5862, allocations: 101.1 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.5864, allocations: 245.2 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.5864, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5864, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5864, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 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.0006021/0.587, allocations: 0.4987 MB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5871, allocations: 8.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.5871, allocations: 46.73 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.5887, allocations: 439.8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.589, allocations: 311.7 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.5891, allocations: 72.19 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.5892, allocations: 12.38 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.5899, allocations: 392.3 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.59, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.59, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.59, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5912, allocations: 0.558 MB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.5927, allocations: 1.002 MB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.5933, allocations: 302.2 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.5938, allocations: 276.6 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.5939, allocations: 4 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5939, allocations: 34.55 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.5939, allocations: 4 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001754/0.5957, allocations: 0.7977 MB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5957, allocations: 55.34 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.596, allocations: 298.6 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.596, allocations: 33.69 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.5961, allocations: 148.1 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.5961, allocations: 27.59 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.5962, allocations: 17.72 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5963, allocations: 334.8 kB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.5969, allocations: 259.8 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5974, allocations: 275.7 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.5984, allocations: 448.9 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5984, allocations: 0 / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00117/0.5996, allocations: 0.5439 MB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5996, allocations: 8 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5996, allocations: 0 / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.5996, allocations: 0 / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.6, allocations: 99.77 kB / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6, allocations: 3.984 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.6003, allocations: 83.72 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.6003, allocations: 7.984 kB / 1.033 GB, free: 5.059 MB / 0.7794 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.0001229/0.6004, allocations: 141.8 kB / 1.034 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.6005, allocations: 19.81 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.6005, allocations: 25.7 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6006, allocations: 0 / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6006, allocations: 0 / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6006, allocations: 0 / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.601, allocations: 440.3 kB / 1.034 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.601, allocations: 0 / 1.034 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.6013, allocations: 95.83 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6014, allocations: 0 / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.6014, allocations: 11.98 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.6014, allocations: 0 / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6014, allocations: 0 / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.6026, allocations: 0.6472 MB / 1.035 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.6027, allocations: 100.8 kB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.6027, allocations: 3.938 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.603, allocations: 83.86 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.6031, allocations: 3.984 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6031, allocations: 11.98 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001923/0.6033, allocations: 221.9 kB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6033, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002784/0.6036, allocations: 43.91 kB / 1.035 GB, free: 3.137 MB / 0.7794 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.001449/0.6051, allocations: 1.18 MB / 1.036 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.6062, allocations: 0.5385 MB / 1.037 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6062, allocations: 0 / 1.037 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.6068, allocations: 283.7 kB / 1.037 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.6071, allocations: 16.56 kB / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.6127, allocations: 3.992 MB / 1.041 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6129, allocations: 0.7435 MB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.6131, allocations: 57.42 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6133, allocations: 83.38 kB / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.6133, allocations: 0 / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/2.182, allocations: 4.665 MB / 1.047 GB, free: 7.617 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/2.182, allocations: 233.9 kB / 1.047 GB, free: 7.359 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/4.854, allocations: 3.938 kB / 1.047 GB, free: 7.355 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)