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.001062/0.001062, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.447/2.447, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5073, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002878/0.5102, allocations: 1.99 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.5112, allocations: 0.6904 MB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.5114, allocations: 8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.5115, allocations: 19.73 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.5116, allocations: 19.75 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.5118, allocations: 91.83 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.512, allocations: 147.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.5122, allocations: 88.59 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.5123, allocations: 51.78 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.5124, allocations: 79.55 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.5124, allocations: 16 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.5126, allocations: 63.95 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.5127, allocations: 63.81 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.5128, allocations: 95.41 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.513, allocations: 261.3 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.513, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.513, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.513, allocations: 0 / 1.021 GB, free: 14.82 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.0007009/0.5138, allocations: 0.5375 MB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5138, allocations: 12.03 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.5138, allocations: 50.67 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.5155, allocations: 415.9 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5159, allocations: 311.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.516, allocations: 68.19 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.516, allocations: 16.38 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.5168, allocations: 388.2 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5168, allocations: 0 / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.5169, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5169, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5181, allocations: 0.5434 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.5197, allocations: 0.9937 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.5204, allocations: 298.3 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.521, allocations: 268.6 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.5211, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5211, allocations: 30.56 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5211, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00195/0.5231, allocations: 0.7935 MB / 1.026 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.5231, allocations: 51.41 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.5234, allocations: 294.7 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.5235, allocations: 33.64 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5236, allocations: 164.2 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.5236, allocations: 23.66 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.5237, allocations: 37.67 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5238, allocations: 338.8 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.5244, allocations: 263.7 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.525, allocations: 255.8 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5261, allocations: 432.4 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5261, allocations: 4 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001238/0.5273, allocations: 0.5403 MB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5274, allocations: 4 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5274, allocations: 0 / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5274, allocations: 8 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.5278, allocations: 87.83 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5278, allocations: 4.062 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.5281, allocations: 71.88 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.5282, allocations: 11.97 kB / 1.028 GB, free: 7.297 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.0001256/0.5283, allocations: 141.8 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.5284, allocations: 23.7 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.5284, allocations: 29.7 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5284, allocations: 0 / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5284, allocations: 0 / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5284, allocations: 3.938 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.5289, allocations: 436.4 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5289, allocations: 4 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.5293, allocations: 91.83 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5293, allocations: 0 / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.5293, allocations: 15.97 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5293, allocations: 0 / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5293, allocations: 0 / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5306, allocations: 0.6276 MB / 1.029 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5307, allocations: 100.8 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.5307, allocations: 0 / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.5311, allocations: 75.88 kB / 1.03 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5311, allocations: 11.92 kB / 1.03 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5312, allocations: 7.922 kB / 1.03 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002021/0.5314, allocations: 221.9 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5314, allocations: 0 / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003017/0.5317, allocations: 39.91 kB / 1.03 GB, free: 5.398 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.00156/0.5333, allocations: 1.177 MB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.5345, allocations: 0.5346 MB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5345, allocations: 3.938 kB / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.5352, allocations: 271.7 kB / 1.032 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.5355, allocations: 12.56 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.5416, allocations: 3.892 MB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5419, allocations: 0.7474 MB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.5421, allocations: 53.42 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.5423, allocations: 84.5 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.5423, allocations: 4 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.226/0.7683, allocations: 5.004 MB / 1.041 GB, free: 9.621 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/8.148, allocations: 8.016 kB / 1.041 GB, free: 9.613 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)