Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001237/0.001237, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001332/0.001333, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7364, allocations: 142.3 MB / 0.9536 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004181/0.7406, allocations: 3.889 MB / 0.9574 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.7414, allocations: 0.7101 MB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.7415, allocations: 1.344 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.7416, allocations: 22.48 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.7417, allocations: 32.8 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.742, allocations: 140.2 kB / 0.9583 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.7422, allocations: 115.2 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.7422, allocations: 10.47 kB / 0.9584 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.7424, allocations: 69.94 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.7425, allocations: 72.53 kB / 0.9585 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.7425, allocations: 5.75 kB / 0.9585 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.7428, allocations: 121.1 kB / 0.9587 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.7428, allocations: 28.8 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.7428, allocations: 43.89 kB / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.743, allocations: 161.4 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.7431, allocations: 0 / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7431, allocations: 0 / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7431, allocations: 0 / 0.9589 GB, free: 3.832 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006883/0.7438, allocations: 466.9 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7438, allocations: 9.094 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.7439, allocations: 41.39 kB / 0.9594 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.7439, allocations: 9.406 kB / 0.9594 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.744, allocations: 185.7 kB / 0.9596 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.744, allocations: 8.125 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.744, allocations: 12.25 kB / 0.9596 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.7443, allocations: 129.4 kB / 0.9597 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7444, allocations: 4 kB / 0.9597 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7444, allocations: 9.328 kB / 0.9597 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7444, allocations: 1.375 kB / 0.9597 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.7448, allocations: 167 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.7457, allocations: 471.6 kB / 0.9603 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.746, allocations: 147.1 kB / 0.9605 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.7471, allocations: 0.9549 MB / 0.9614 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.7471, allocations: 31.66 kB / 0.9614 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.7471, allocations: 0 / 0.9614 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006847/0.7478, allocations: 239.2 kB / 0.9617 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.7478, allocations: 64.66 kB / 0.9617 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.748, allocations: 166.8 kB / 0.9619 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.748, allocations: 31.08 kB / 0.9619 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.7481, allocations: 112.4 kB / 0.962 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.7481, allocations: 36.95 kB / 0.9621 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.7481, allocations: 4 kB / 0.9621 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.7482, allocations: 326.9 kB / 0.9624 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.7484, allocations: 89.44 kB / 0.9625 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.7486, allocations: 123.9 kB / 0.9626 GB, free: 492 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.7489, allocations: 95.27 kB / 0.9627 GB, free: 452 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7489, allocations: 4 kB / 0.9627 GB, free: 448 kB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005659/0.7494, allocations: 266.5 kB / 0.9629 GB, free: 312 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7495, allocations: 5.875 kB / 0.9629 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7495, allocations: 1.125 kB / 0.9629 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7495, allocations: 1.594 kB / 0.9629 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.7498, allocations: 54.31 kB / 0.963 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7498, allocations: 6.062 kB / 0.963 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.75, allocations: 39.75 kB / 0.963 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.75, allocations: 9.969 kB / 0.963 GB, free: 272 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.7501, allocations: 122.9 kB / 0.9632 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.7501, allocations: 13.12 kB / 0.9632 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.7507, allocations: 203.7 kB / 0.9634 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7507, allocations: 1.344 kB / 0.9634 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7507, allocations: 5.188 kB / 0.9634 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7507, allocations: 0 / 0.9634 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.7509, allocations: 218.5 kB / 0.9636 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.751, allocations: 4 kB / 0.9636 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.7511, allocations: 34.19 kB / 0.9636 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7511, allocations: 1.438 kB / 0.9636 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.7512, allocations: 5.25 kB / 0.9636 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7512, allocations: 0 / 0.9636 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7512, allocations: 4 kB / 0.9636 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.7517, allocations: 279.3 kB / 0.9639 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.7518, allocations: 105.5 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.7518, allocations: 5.969 kB / 0.964 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.7519, allocations: 19.27 kB / 0.964 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.752, allocations: 8.516 kB / 0.964 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.752, allocations: 11.03 kB / 0.964 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.7521, allocations: 116 kB / 0.9641 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7521, allocations: 0 / 0.9641 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003636/0.7525, allocations: 60.98 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009388/0.7534, allocations: 0.8712 MB / 0.965 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.7539, allocations: 192 kB / 0.9652 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.754, allocations: 0 / 0.9652 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.7542, allocations: 82.12 kB / 0.9653 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.7545, allocations: 16.67 kB / 0.9653 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.7555, allocations: 1.051 MB / 0.9664 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.7557, allocations: 0.7121 MB / 0.967 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.7559, allocations: 21.09 kB / 0.9671 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.7559, allocations: 42.86 kB / 0.9671 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7559, allocations: 4 kB / 0.9671 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.7721, allocations: 3.931 MB / 0.9709 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.7724, allocations: 209.2 kB / 0.9711 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.514, allocations: 5.719 kB / 0.9712 GB, free: 10.58 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat