Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001219/0.001219, allocations: 100.2 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.001516/0.001517, 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.418 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.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7483, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002141/0.7505, allocations: 1.751 MB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.7519, allocations: 0.9799 MB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.752, allocations: 6.094 kB / 0.9563 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.752, allocations: 11.86 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.7523, allocations: 89.44 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.7527, allocations: 129.4 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.7529, allocations: 198.3 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.7531, allocations: 51.05 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.7532, allocations: 94.77 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.7534, allocations: 118.8 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.7534, allocations: 8.875 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.7538, allocations: 270.5 kB / 0.9572 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.7539, allocations: 33.41 kB / 0.9572 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.7539, allocations: 68.8 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.7542, allocations: 217.8 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.7542, allocations: 4 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7542, allocations: 0 / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.7542, allocations: 0 / 0.9575 GB, free: 5.141 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009111/0.7551, allocations: 0.6071 MB / 0.9581 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7552, allocations: 12.75 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.7552, allocations: 52.11 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.7554, allocations: 42.81 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.7557, allocations: 267.4 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7557, allocations: 11.16 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.7557, allocations: 13.62 kB / 0.9585 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.7562, allocations: 252.8 kB / 0.9587 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7563, allocations: 1.375 kB / 0.9587 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7563, allocations: 5.375 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.7563, allocations: 8.125 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.757, allocations: 244.4 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.758, allocations: 0.948 MB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.7587, allocations: 259.2 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.7588, allocations: 5.625 kB / 0.9601 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.7588, allocations: 40.98 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.7588, allocations: 3.938 kB / 0.9602 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001182/0.76, allocations: 404.4 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.76, allocations: 79.33 kB / 0.9606 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.7603, allocations: 260.5 kB / 0.9609 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.7603, allocations: 30.86 kB / 0.9609 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.7604, allocations: 160.6 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.7604, allocations: 53.2 kB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.7604, allocations: 5.062 kB / 0.9611 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.7605, allocations: 340.5 kB / 0.9615 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.7609, allocations: 112.8 kB / 0.9616 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.7612, allocations: 165.6 kB / 0.9617 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.7615, allocations: 128.4 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7616, allocations: 0 / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008261/0.7624, allocations: 329.2 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7624, allocations: 6.25 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7624, allocations: 1.406 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7625, allocations: 2.625 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.7628, allocations: 81.31 kB / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7628, allocations: 2.125 kB / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.763, allocations: 47.25 kB / 0.9623 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7631, allocations: 6 kB / 0.9623 GB, free: 1.457 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001002/0.7632, allocations: 143.9 kB / 0.9624 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.7633, allocations: 24.12 kB / 0.9625 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.7641, allocations: 336.4 kB / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7641, allocations: 2.719 kB / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7641, allocations: 1.312 kB / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7641, allocations: 0 / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.7644, allocations: 298.1 kB / 0.9631 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7644, allocations: 5.125 kB / 0.9631 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.7647, allocations: 59.39 kB / 0.9631 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.7647, allocations: 1 kB / 0.9631 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.7647, allocations: 10.86 kB / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.7647, allocations: 5.656 kB / 0.9631 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7648, allocations: 0 / 0.9631 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.7656, allocations: 498.1 kB / 0.9636 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.7656, allocations: 107.2 kB / 0.9637 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.7657, allocations: 10.09 kB / 0.9637 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.7659, allocations: 39.47 kB / 0.9638 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.766, allocations: 19.34 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.766, allocations: 4.844 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001408/0.7662, allocations: 195.3 kB / 0.964 GB, free: 196 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7662, allocations: 0 / 0.964 GB, free: 196 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003707/0.7666, allocations: 48.72 kB / 0.964 GB, free: 192 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001426/0.768, allocations: 1.111 MB / 0.9651 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008508/0.7689, allocations: 275.7 kB / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7689, allocations: 0 / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.7693, allocations: 140.5 kB / 0.9655 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.7698, allocations: 62.62 kB / 0.9656 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.7714, allocations: 1.677 MB / 0.9672 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.7717, allocations: 0.7593 MB / 0.9679 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.7719, allocations: 36.77 kB / 0.968 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.772, allocations: 81.31 kB / 0.9681 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.772, allocations: 0 / 0.9681 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.7909, allocations: 5.754 MB / 0.9737 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.7911, allocations: 193 kB / 0.9739 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.54, allocations: 4 kB / 0.9739 GB, free: 9.707 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat