Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_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.0007455/0.0007455, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004283/0.004283, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.348/2.348, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 19.66 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001785/0.2232, allocations: 1.7 MB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.2242, allocations: 0.6702 MB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.2243, allocations: 0 / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.152e-05/0.2244, allocations: 11.86 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.2245, allocations: 15.88 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2247, allocations: 75.86 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2249, allocations: 139.6 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.225, allocations: 80.59 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.2251, allocations: 43.73 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.2252, allocations: 59.62 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2252, allocations: 4 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2254, allocations: 55.89 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.2254, allocations: 47.83 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.2255, allocations: 105 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2257, allocations: 243.3 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2258, allocations: 4 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2258, allocations: 4 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2258, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 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.0006037/0.2264, allocations: 0.4947 MB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2264, allocations: 11.97 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.2265, allocations: 46.73 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.2279, allocations: 439.8 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2283, allocations: 311.7 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.2283, allocations: 68.19 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.2284, allocations: 12.38 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.2291, allocations: 395.8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2291, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.2292, allocations: 11.98 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2292, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2303, allocations: 0.5509 MB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2317, allocations: 0.9979 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.2323, allocations: 302.2 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.2328, allocations: 276.6 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2329, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2329, allocations: 38.55 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2329, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001686/0.2346, allocations: 0.8016 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2346, allocations: 55.41 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2349, allocations: 302.6 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2349, allocations: 25.7 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.235, allocations: 144.2 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.235, allocations: 23.66 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.2351, allocations: 21.7 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.2352, allocations: 334.8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.2357, allocations: 263.8 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.2362, allocations: 267.7 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.2372, allocations: 448.4 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2372, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001076/0.2383, allocations: 0.5477 MB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2383, allocations: 8 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2383, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2383, allocations: 3.984 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.2386, allocations: 91.84 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2387, allocations: 3.984 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.2389, allocations: 79.81 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.239, allocations: 7.984 kB / 1.069 GB, free: 10.04 MB / 0.8262 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.0001174/0.2391, allocations: 145.8 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2392, allocations: 19.72 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.2392, allocations: 25.7 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2392, allocations: 4 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2392, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2392, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.2396, allocations: 436.3 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2396, allocations: 3.938 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.24, allocations: 103.8 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.24, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.24, allocations: 7.984 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.24, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.24, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2412, allocations: 0.6554 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.2412, allocations: 92.92 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2413, allocations: 3.984 kB / 1.071 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2416, allocations: 79.88 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2416, allocations: 7.984 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2416, allocations: 3.984 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00018/0.2418, allocations: 225.9 kB / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2418, allocations: 0 / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002657/0.2421, allocations: 43.84 kB / 1.071 GB, free: 8.105 MB / 0.8262 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.001393/0.2435, allocations: 1.188 MB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.2446, allocations: 0.5385 MB / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2446, allocations: 0 / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.2452, allocations: 287.7 kB / 1.073 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2454, allocations: 14.81 kB / 1.073 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.2506, allocations: 3.969 MB / 1.077 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2509, allocations: 0.7473 MB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.2511, allocations: 57.42 kB / 1.078 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2512, allocations: 83.38 kB / 1.078 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2512, allocations: 3.938 kB / 1.078 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7849/1.036, allocations: 4.667 MB / 1.082 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.036, allocations: 233.7 kB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.708, allocations: 0 / 1.082 GB, free: 12.34 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)