Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.001007/0.001007, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001252/0.001252, allocations: 172.7 kB / 15.95 MB, free: 208 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.309 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.463/2.463, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7472, allocations: 142.3 MB / 0.9539 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007287/0.7479, allocations: 324.6 kB / 0.9542 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.7499, allocations: 1.657 MB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.7499, allocations: 0 / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.75, allocations: 5.469 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.003e-05/0.75, allocations: 0 / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.7507, allocations: 249 kB / 0.956 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.7508, allocations: 109.1 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.7509, allocations: 5.438 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.751, allocations: 49.14 kB / 0.9562 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.7511, allocations: 56.7 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.7511, allocations: 6.312 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.7515, allocations: 269 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.7516, allocations: 39.2 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.7516, allocations: 35.77 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.7519, allocations: 183.8 kB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7519, allocations: 0 / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7519, allocations: 3.938 kB / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7519, allocations: 1.062 kB / 0.9567 GB, free: 5.918 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000526/0.7524, allocations: 418.3 kB / 0.9571 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7525, allocations: 10.06 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.7525, allocations: 51.86 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.7526, allocations: 12.55 kB / 0.9572 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.046e-05/0.7526, allocations: 169.4 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.7527, allocations: 8.719 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.7527, allocations: 12 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.753, allocations: 221.8 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.753, allocations: 1.125 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.753, allocations: 5.031 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.753, allocations: 4.312 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.7533, allocations: 181.2 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.7536, allocations: 279.9 kB / 0.9581 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.7542, allocations: 404.8 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.7545, allocations: 186.8 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.7547, allocations: 197.2 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.7548, allocations: 37.31 kB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.7548, allocations: 7.938 kB / 0.9589 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006109/0.7554, allocations: 382.2 kB / 0.9592 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.7555, allocations: 188 kB / 0.9594 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.7555, allocations: 99.19 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.7555, allocations: 30.98 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.7555, allocations: 82.05 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.7556, allocations: 106.2 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.7556, allocations: 9.375 kB / 0.9597 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.7557, allocations: 322.7 kB / 0.96 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.7558, allocations: 88.77 kB / 0.9601 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.756, allocations: 139.2 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.7562, allocations: 109.5 kB / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7562, allocations: 5.062 kB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004127/0.7566, allocations: 282.4 kB / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7566, allocations: 7.094 kB / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.7566, allocations: 1.094 kB / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7567, allocations: 3.312 kB / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.7569, allocations: 61.89 kB / 0.9607 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7569, allocations: 6.188 kB / 0.9607 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.757, allocations: 12.19 kB / 0.9607 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.757, allocations: 21.12 kB / 0.9607 GB, free: 2.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 8.967e-05/0.7571, allocations: 132.8 kB / 0.9609 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.7572, allocations: 10.5 kB / 0.9609 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.7577, allocations: 362.7 kB / 0.9612 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.7577, allocations: 4.719 kB / 0.9612 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7578, allocations: 2.094 kB / 0.9612 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7578, allocations: 2.062 kB / 0.9612 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.758, allocations: 257 kB / 0.9615 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.758, allocations: 4.984 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.7582, allocations: 62.48 kB / 0.9615 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.7582, allocations: 6.906 kB / 0.9615 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.7582, allocations: 7.984 kB / 0.9615 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7583, allocations: 2.938 kB / 0.9615 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7583, allocations: 6.156 kB / 0.9615 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.7587, allocations: 346.5 kB / 0.9619 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.7588, allocations: 123.5 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.7588, allocations: 11.03 kB / 0.962 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.7589, allocations: 6.562 kB / 0.962 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.759, allocations: 27.25 kB / 0.962 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.759, allocations: 12.58 kB / 0.9621 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.774e-05/0.759, allocations: 84.52 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.759, allocations: 0 / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003963/0.7594, allocations: 93.45 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0009499/0.7604, allocations: 0.9635 MB / 0.9632 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.7607, allocations: 247 kB / 0.9634 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7607, allocations: 0 / 0.9634 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.7609, allocations: 136.1 kB / 0.9635 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7611, allocations: 22.45 kB / 0.9635 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.7618, allocations: 476.3 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7621, allocations: 0.717 MB / 0.9647 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.7623, allocations: 107.9 kB / 0.9648 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.7624, allocations: 41.03 kB / 0.9648 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7624, allocations: 0.9688 kB / 0.9648 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.7767, allocations: 3.762 MB / 0.9685 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.7769, allocations: 244.8 kB / 0.9688 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.513, allocations: 3.516 kB / 0.9688 GB, free: 13.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat does not exist to compare? outputFormat=mat