Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",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.001355/0.001355, allocations: 99.23 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.001576/0.001576, allocations: 177.3 kB / 15.94 MB, free: 228 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.378/1.378, allocations: 223.2 MB / 239.9 MB, free: 5.348 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.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 11.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7634, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.001634/0.7651, allocations: 1.349 MB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.9078, allocations: 124.5 MB / 1.077 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.9079, allocations: 0 / 1.077 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.908, allocations: 3.984 kB / 1.077 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.9081, allocations: 19.91 kB / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.9087, allocations: 155.5 kB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.9088, allocations: 51.92 kB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9089, allocations: 23.97 kB / 1.077 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.909, allocations: 35.86 kB / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.9091, allocations: 39.83 kB / 1.077 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.9091, allocations: 4 kB / 1.077 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.9094, allocations: 119.8 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.9095, allocations: 11.92 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.9095, allocations: 41.64 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.9097, allocations: 105.8 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.9097, allocations: 3.938 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9097, allocations: 0 / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9098, allocations: 0 / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006575/0.9104, allocations: 427 kB / 1.078 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.9105, allocations: 8.031 kB / 1.078 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.9105, allocations: 38.55 kB / 1.078 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.9117, allocations: 163.7 kB / 1.078 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.9119, allocations: 167 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.912, allocations: 37.69 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.912, allocations: 11.94 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.9126, allocations: 169.5 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.9126, allocations: 0 / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.9126, allocations: 4 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9126, allocations: 0 / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.9134, allocations: 219.8 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.9142, allocations: 426.2 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.9147, allocations: 130.5 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.9148, allocations: 4 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.9148, allocations: 38.67 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.9148, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.001344/0.9161, allocations: 341.3 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.9162, allocations: 51.41 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9163, allocations: 156 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.9163, allocations: 29.7 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.9164, allocations: 92.14 kB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.9164, allocations: 19.88 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.9164, allocations: 0 / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.9165, allocations: 318.8 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.9169, allocations: 103.9 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.9173, allocations: 109.6 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.9177, allocations: 95.91 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9177, allocations: 4 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008154/0.9185, allocations: 241.4 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9185, allocations: 4 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9185, allocations: 0 / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.9186, allocations: 0 / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.9189, allocations: 47.95 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.9189, allocations: 7.938 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.9191, allocations: 47.8 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.9191, allocations: 0 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.9193, allocations: 117.8 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.9193, allocations: 7.906 kB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.9193, allocations: 16.66 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9193, allocations: 0 / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9193, allocations: 3.984 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9194, allocations: 7.953 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.9196, allocations: 221.9 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9196, allocations: 0 / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.9199, allocations: 39.95 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9199, allocations: 4 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.9199, allocations: 8 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9199, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9199, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.9207, allocations: 339.2 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.9208, allocations: 89.02 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.9208, allocations: 0 / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.9211, allocations: 35.91 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.9211, allocations: 15.97 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.9212, allocations: 4 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.9212, allocations: 112.4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9212, allocations: 4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002463/0.9215, allocations: 16 kB / 1.081 GB, free: 12.6 MB / 0.8419 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 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001132/0.9226, allocations: 0.8724 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008015/0.9234, allocations: 207.8 kB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9234, allocations: 0 / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.9238, allocations: 111.9 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.9241, allocations: 12.73 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.9266, allocations: 1.093 MB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.9268, allocations: 0.7004 MB / 1.084 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.927, allocations: 12 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.9271, allocations: 27.42 kB / 1.084 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.9271, allocations: 0 / 1.084 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.9394, allocations: 2.475 MB / 1.087 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.9396, allocations: 225.8 kB / 1.087 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.609, allocations: 0 / 1.087 GB, free: 6.941 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat does not exist to compare? outputFormat=mat