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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001443/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 195.1 kB / 16.25 MB, free: 6.633 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4955, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002985/0.4986, allocations: 2.053 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.4996, allocations: 0.6749 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.4997, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.4998, allocations: 15.86 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.4999, allocations: 19.86 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.5001, allocations: 75.88 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.5003, allocations: 155.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.5005, allocations: 92.58 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.5006, allocations: 55.78 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.5007, allocations: 67.69 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.5007, allocations: 15.94 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.5009, allocations: 63.89 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.5009, allocations: 67.81 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.501, allocations: 87.41 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.5013, allocations: 265.3 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5013, allocations: 7.984 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5013, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5013, allocations: 0 / 1.021 GB, free: 14.98 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.0006958/0.502, allocations: 0.5297 MB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.5021, allocations: 8.031 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.5021, allocations: 42.75 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.5038, allocations: 427.9 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5042, allocations: 315.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.5043, allocations: 68.19 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.5043, allocations: 12.38 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.5051, allocations: 388.3 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5052, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.5052, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5052, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5064, allocations: 0.5385 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.5079, allocations: 1.002 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.5086, allocations: 294.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.5092, allocations: 280.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5092, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5093, allocations: 34.56 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5093, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001836/0.5111, allocations: 0.7818 MB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.5111, allocations: 55.41 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.5114, allocations: 298.7 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5115, allocations: 29.7 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.5116, allocations: 156.2 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.5116, allocations: 23.66 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.5117, allocations: 37.67 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5118, allocations: 334.8 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.5124, allocations: 259.8 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.513, allocations: 259.8 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.514, allocations: 440.9 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5141, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001225/0.5153, allocations: 0.5438 MB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5153, allocations: 4 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.5153, allocations: 0 / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5153, allocations: 4 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5157, allocations: 91.83 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5157, allocations: 0 / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.516, allocations: 79.86 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.5161, allocations: 7.984 kB / 1.028 GB, free: 7.465 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.0001257/0.5162, allocations: 141.8 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.5163, allocations: 19.72 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.5163, allocations: 25.7 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.5163, allocations: 4 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5163, allocations: 0 / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5163, allocations: 3.984 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.5168, allocations: 436.4 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5168, allocations: 0 / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.5172, allocations: 95.7 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5172, allocations: 0 / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5172, allocations: 11.98 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5172, allocations: 4 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5172, allocations: 0 / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.5185, allocations: 0.6237 MB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.5186, allocations: 104.8 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.5186, allocations: 0 / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.5189, allocations: 75.86 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.519, allocations: 8 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.519, allocations: 15.91 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001903/0.5192, allocations: 213.9 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5192, allocations: 0 / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002803/0.5195, allocations: 35.91 kB / 1.029 GB, free: 5.574 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.001525/0.521, allocations: 1.184 MB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.5223, allocations: 0.5307 MB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5223, allocations: 0 / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.5229, allocations: 279.7 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5232, allocations: 18.14 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.529, allocations: 3.941 MB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.5293, allocations: 0.7474 MB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.5295, allocations: 57.42 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.5297, allocations: 83.38 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5297, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4146/0.9443, allocations: 4.855 MB / 1.041 GB, free: 9.922 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.9447, allocations: 228.4 kB / 1.041 GB, free: 9.668 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.982, allocations: 1.875 kB / 1.041 GB, free: 9.668 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)