Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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 1.964/1.964, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.0008734/0.0008734, allocations: 172.8 kB / 496.1 MB, free: 12.89 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.236/1.236, 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.0008216/0.0008215, allocations: 88.02 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.986e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1904, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6657/0.8562, allocations: 150.8 MB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.8564, allocations: 68.16 kB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006356/0.8628, allocations: 2.414 MB / 1.369 GB, free: 1.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8628, allocations: 0 / 1.369 GB, free: 1.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8629, allocations: 4 kB / 1.369 GB, free: 1.176 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003506/0.8632, allocations: 358.1 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8633, allocations: 8.031 kB / 1.369 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.8633, allocations: 37.38 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.8633, allocations: 7.906 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8634, allocations: 178.9 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.8635, allocations: 32.64 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.8635, allocations: 4 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.8636, allocations: 57.44 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.8637, allocations: 0 / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.8637, allocations: 0 / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8637, allocations: 0 / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.8637, allocations: 26 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.8642, allocations: 311.7 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.8643, allocations: 33.08 kB / 1.37 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.8643, allocations: 22.73 kB / 1.37 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.8643, allocations: 8.078 kB / 1.37 GB, free: 4 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.8644, allocations: 30.56 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8644, allocations: 4 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001431/0.8645, allocations: 52.44 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.8645, allocations: 62.59 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.8646, allocations: 101.3 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.8646, allocations: 25.7 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.8647, allocations: 91.7 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.8647, allocations: 23.3 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.8647, allocations: 0 / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.8648, allocations: 314.8 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.8648, allocations: 7.75 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.8649, allocations: 25.59 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.8649, allocations: 15.45 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.8649, allocations: 4 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.332e-05/0.865, allocations: 64.25 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.865, allocations: 5.25 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.865, allocations: 3.938 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.865, allocations: 0 / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.8651, allocations: 19.94 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8652, allocations: 4.312 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.8652, allocations: 7.906 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.8652, allocations: 4.031 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.363e-05/0.8653, allocations: 108.2 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.8653, allocations: 4 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.8653, allocations: 11.45 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8654, allocations: 0 / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8654, allocations: 3.953 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8654, allocations: 0 / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.8655, allocations: 176.3 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8655, allocations: 0 / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.8656, allocations: 16 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8656, allocations: 3.984 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.8656, allocations: 3.5 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8656, allocations: 4.109 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8656, allocations: 4 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.8658, allocations: 158.3 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.8658, allocations: 77.11 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.8658, allocations: 3.312 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.8659, allocations: 19.98 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.866, allocations: 3.938 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.866, allocations: 7.984 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.866, allocations: 86.66 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.866, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001875/0.8662, allocations: 15.89 kB / 1.371 GB, free: 14.38 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 (4): * Single equations (assignments): 4 * 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.0003291/0.8666, allocations: 0.6862 MB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/0.8667, allocations: 31.67 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8667, allocations: 0 / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.8667, allocations: 15.19 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.8669, allocations: 8.797 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.8672, allocations: 117.7 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.8674, allocations: 0.6887 MB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.8674, allocations: 4 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.8675, allocations: 10.81 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/0.8675, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009989/0.8775, allocations: 1.469 MB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.8777, allocations: 178.1 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.349/2.227, allocations: 0 / 1.374 GB, free: 11.21 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat does not exist to compare? outputFormat=mat