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.001534/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001787/0.001787, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.451/2.451, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5454, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00289/0.5484, allocations: 2.041 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.5494, allocations: 0.6865 MB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.5495, allocations: 4 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.5496, allocations: 11.86 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.5497, allocations: 19.86 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.5499, allocations: 71.94 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.5501, allocations: 143.6 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.5503, allocations: 84.58 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.5504, allocations: 47.78 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.5505, allocations: 67.58 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.5505, allocations: 8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.5506, allocations: 59.89 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.5507, allocations: 63.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.5508, allocations: 79.41 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.551, allocations: 257.3 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5511, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5511, allocations: 3.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5511, allocations: 0 / 1.02 GB, free: 15.14 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.000697/0.5518, allocations: 0.5375 MB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5518, allocations: 15.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.5519, allocations: 42.75 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.5536, allocations: 423.9 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.5539, allocations: 311.7 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.554, allocations: 68.19 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.5541, allocations: 12.38 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5553, allocations: 384.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5553, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.5554, allocations: 8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5554, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.5573, allocations: 0.5385 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.5597, allocations: 1.002 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.5608, allocations: 290.3 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009301/0.5617, allocations: 276.6 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5618, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5618, allocations: 30.56 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 4.659e-06/0.5618, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.002931/0.5647, allocations: 0.7818 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5648, allocations: 59.34 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.5652, allocations: 294.7 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.5653, allocations: 33.7 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.5654, allocations: 148.3 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.5655, allocations: 27.64 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5656, allocations: 33.67 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5658, allocations: 338.8 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/0.5667, allocations: 263.8 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.5677, allocations: 255.8 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.5695, allocations: 448.3 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5695, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00191/0.5714, allocations: 0.5282 MB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5715, allocations: 4 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5715, allocations: 4 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5715, allocations: 0 / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.5721, allocations: 91.83 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5721, allocations: 3.938 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.5726, allocations: 79.86 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.5727, allocations: 7.984 kB / 1.027 GB, free: 7.629 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.0002006/0.5729, allocations: 145.7 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.573, allocations: 19.72 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.5731, allocations: 25.7 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5731, allocations: 0 / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5731, allocations: 0 / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5731, allocations: 8 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.5738, allocations: 440.4 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5739, allocations: 0 / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.5744, allocations: 87.83 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5745, allocations: 4 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.5745, allocations: 7.984 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5745, allocations: 0 / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5745, allocations: 3.984 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.5765, allocations: 0.632 MB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5766, allocations: 104.8 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.5767, allocations: 3.938 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5772, allocations: 75.86 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.5773, allocations: 4 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.5774, allocations: 11.97 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003163/0.5777, allocations: 217.9 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5777, allocations: 0 / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005441/0.5783, allocations: 35.91 kB / 1.029 GB, free: 5.73 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.002302/0.5806, allocations: 1.187 MB / 1.03 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.5825, allocations: 0.5268 MB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5825, allocations: 0 / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.5834, allocations: 271.7 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.5839, allocations: 20.55 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.5931, allocations: 3.951 MB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5935, allocations: 0.7593 MB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.5939, allocations: 53.42 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.5941, allocations: 79.38 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of SimCode: time 2.194e-06/0.5942, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/0.7881, allocations: 4.752 MB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.7884, allocations: 227.8 kB / 1.041 GB, free: 9.902 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.482, allocations: 0 / 1.041 GB, free: 9.902 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)