Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 390.3 MB / 402.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 168.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 87.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.077e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.341, allocations: 150.6 MB / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.341, allocations: 93.73 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003872/1.345, allocations: 1.259 MB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.958e-06/1.345, allocations: 0 / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.345, allocations: 3.938 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006428/1.346, allocations: 405.2 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/1.346, allocations: 12.03 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/1.346, allocations: 30.56 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/1.346, allocations: 7.906 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.346, allocations: 171 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.346, allocations: 3.188 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.346, allocations: 8 kB / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.347, allocations: 68.17 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.347, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.347, allocations: 3.812 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.347, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/1.347, allocations: 31.19 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/1.347, allocations: 309.2 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.348, allocations: 60.53 kB / 1.368 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/1.348, allocations: 28.52 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/1.348, allocations: 4 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.348, allocations: 34.55 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/1.348, allocations: 0 / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002202/1.348, allocations: 66.53 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.348, allocations: 59.34 kB / 1.368 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.348, allocations: 113.2 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.348, allocations: 25.7 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/1.348, allocations: 93.98 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/1.348, allocations: 18.55 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.348, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.348, allocations: 317.8 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/1.348, allocations: 14.88 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/1.348, allocations: 14.94 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/1.349, allocations: 19.3 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.349, allocations: 4.875 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001351/1.349, allocations: 68.61 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.349, allocations: 9.234 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.349, allocations: 4 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.349, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.349, allocations: 40.16 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.349, allocations: 3.953 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/1.349, allocations: 23.98 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.349, allocations: 7.938 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000115/1.349, allocations: 107.7 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/1.349, allocations: 7.906 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/1.349, allocations: 14.88 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.349, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.349, allocations: 4 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.349, allocations: 3.953 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/1.35, allocations: 184.4 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.35, allocations: 3.938 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/1.35, allocations: 35.97 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.35, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.35, allocations: 3.125 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.35, allocations: 4 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.35, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/1.35, allocations: 173.4 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/1.35, allocations: 81.02 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/1.35, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.35, allocations: 35.59 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/1.35, allocations: 3.984 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.35, allocations: 4 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.815e-05/1.35, allocations: 89.78 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/1.35, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002115/1.351, allocations: 15.94 kB / 1.37 GB, free: 15.23 MB / 0.8386 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 () * 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.0005805/1.351, allocations: 0.7149 MB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001468/1.351, allocations: 43 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.351, allocations: 0 / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/1.351, allocations: 25.81 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/1.352, allocations: 13.28 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/1.352, allocations: 134.6 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/1.353, allocations: 0.6887 MB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.134e-05/1.353, allocations: 4 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/1.353, allocations: 21.05 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/1.353, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/1.367, allocations: 1.736 MB / 1.373 GB, free: 12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.367, allocations: 184.8 kB / 1.373 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/3.013, allocations: 3.125 kB / 1.373 GB, free: 11.78 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat does not exist to compare? outputFormat=mat