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.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001214/0.001214, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.338/2.338, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5172, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002603/0.5198, allocations: 2.035 MB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.5207, allocations: 0.678 MB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.5208, allocations: 3.219 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.521, allocations: 15.86 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.521, allocations: 11.41 kB / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.5213, allocations: 77.58 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.5215, allocations: 145.5 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.5217, allocations: 85.88 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.5218, allocations: 63.28 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.5219, allocations: 68.47 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.5219, allocations: 13.78 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.522, allocations: 68.44 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.5221, allocations: 73.69 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.5222, allocations: 93.56 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.5224, allocations: 260.9 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5224, allocations: 0 / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.582e-06/0.5224, allocations: 0 / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.5225, allocations: 1.469 kB / 0.9528 GB, free: 6.359 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.0006467/0.5231, allocations: 0.5377 MB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5232, allocations: 9.75 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.5232, allocations: 46.39 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5249, allocations: 427.4 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.5253, allocations: 311.3 kB / 0.9541 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.5253, allocations: 71.73 kB / 0.9542 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.5254, allocations: 11.69 kB / 0.9542 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.5262, allocations: 385.7 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5262, allocations: 0 / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.5262, allocations: 8.859 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5262, allocations: 3.031 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5274, allocations: 0.5341 MB / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.5289, allocations: 1.003 MB / 0.9561 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.5295, allocations: 293.1 kB / 0.9563 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.5302, allocations: 276.1 kB / 0.9566 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5302, allocations: 1.375 kB / 0.9566 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.5302, allocations: 35.66 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5302, allocations: 0 / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001949/0.5322, allocations: 0.7843 MB / 0.9574 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5322, allocations: 52.5 kB / 0.9575 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.5325, allocations: 299.2 kB / 0.9577 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5325, allocations: 26.92 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.5326, allocations: 156.6 kB / 0.9579 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.5326, allocations: 26.7 kB / 0.9579 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.5327, allocations: 41.02 kB / 0.958 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.5328, allocations: 332.2 kB / 0.9583 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.5334, allocations: 259 kB / 0.9585 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.5339, allocations: 259.7 kB / 0.9588 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.535, allocations: 440.3 kB / 0.9592 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.535, allocations: 0 / 0.9592 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001199/0.5362, allocations: 0.5345 MB / 0.9597 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5362, allocations: 5.406 kB / 0.9597 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5362, allocations: 3.938 kB / 0.9597 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5362, allocations: 0 / 0.9597 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.5366, allocations: 97.52 kB / 0.9598 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5367, allocations: 4 kB / 0.9598 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.537, allocations: 68.28 kB / 0.9599 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.537, allocations: 10.62 kB / 0.9599 GB, free: 1.73 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.0001206/0.5371, allocations: 149.2 kB / 0.9601 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.5372, allocations: 21.31 kB / 0.9601 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.5372, allocations: 25.77 kB / 0.9601 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5373, allocations: 1.125 kB / 0.9601 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5373, allocations: 0 / 0.9601 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5373, allocations: 1.094 kB / 0.9601 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.5376, allocations: 436.8 kB / 0.9605 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5376, allocations: 0 / 0.9605 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.538, allocations: 96.89 kB / 0.9606 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.538, allocations: 3.984 kB / 0.9606 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5381, allocations: 11.44 kB / 0.9606 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5381, allocations: 0 / 0.9606 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5381, allocations: 0 / 0.9606 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.5393, allocations: 0.631 MB / 0.9612 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.5394, allocations: 105.6 kB / 0.9613 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.5394, allocations: 1.062 kB / 0.9613 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.5397, allocations: 66.38 kB / 0.9614 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.5398, allocations: 11.33 kB / 0.9614 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.5398, allocations: 16.08 kB / 0.9614 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001723/0.54, allocations: 217.7 kB / 0.9616 GB, free: 496 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.54, allocations: 1.094 kB / 0.9616 GB, free: 496 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003067/0.5403, allocations: 39.84 kB / 0.9617 GB, free: 488 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.001521/0.5419, allocations: 1.181 MB / 0.9628 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.5432, allocations: 0.5303 MB / 0.9634 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5432, allocations: 0 / 0.9634 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.5438, allocations: 276.5 kB / 0.9636 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.5441, allocations: 17.62 kB / 0.9636 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.5504, allocations: 3.952 MB / 0.9675 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5507, allocations: 0.7474 MB / 0.9682 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.5509, allocations: 56.33 kB / 0.9683 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5511, allocations: 82.53 kB / 0.9684 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5511, allocations: 1.219 kB / 0.9684 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3896/0.9407, allocations: 4.849 MB / 0.9731 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.941, allocations: 226.9 kB / 0.9733 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.968, allocations: 7.938 kB / 0.9733 GB, free: 9.023 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)