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 2.379/2.379, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001129/0.001129, allocations: 180 kB / 0.4901 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.1 MB / 0.7992 GB, free: 15.74 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.0009773/0.0009773, allocations: 96.2 kB / 0.9396 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 10 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.566, allocations: 150.8 MB / 1.377 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5663, allocations: 75.95 kB / 1.377 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.007695/0.574, allocations: 2.409 MB / 1.379 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5741, allocations: 0 / 1.379 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5741, allocations: 0 / 1.379 GB, free: 11.92 MB / 0.8855 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.0005449/0.5746, allocations: 379.2 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.5747, allocations: 8.562 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.5748, allocations: 34.55 kB / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.5748, allocations: 11.84 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.575, allocations: 171 kB / 1.38 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.5751, allocations: 37.64 kB / 1.38 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5751, allocations: 0 / 1.38 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.5753, allocations: 81.66 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5754, allocations: 3.984 kB / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5754, allocations: 4 kB / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5754, allocations: 0 / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.5756, allocations: 59.95 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.5762, allocations: 308.7 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.5764, allocations: 58.55 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5764, allocations: 0 / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5765, allocations: 30.56 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.5765, allocations: 0 / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0003964/0.5769, allocations: 125.6 kB / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5769, allocations: 55.41 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.577, allocations: 97 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5771, allocations: 25.7 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.5772, allocations: 100.1 kB / 1.38 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.5772, allocations: 11.75 kB / 1.381 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5772, allocations: 4 kB / 1.381 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5773, allocations: 322.8 kB / 1.381 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.5774, allocations: 23.98 kB / 1.381 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.5775, allocations: 41.62 kB / 1.381 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5776, allocations: 35.92 kB / 1.381 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5777, allocations: 0 / 1.381 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002391/0.5779, allocations: 93.69 kB / 1.381 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5779, allocations: 8 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5779, allocations: 0 / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.578, allocations: 0 / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5781, allocations: 19.92 kB / 1.381 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5781, allocations: 3.953 kB / 1.381 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.5782, allocations: 11.98 kB / 1.381 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.5782, allocations: 0 / 1.381 GB, free: 9.566 MB / 0.8855 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 () * Number of clocked 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 0.0001143/0.5783, allocations: 117.8 kB / 1.381 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.5783, allocations: 7.906 kB / 1.381 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.5784, allocations: 7.906 kB / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5784, allocations: 0 / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5784, allocations: 0 / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5784, allocations: 3.953 kB / 1.381 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.5786, allocations: 173.6 kB / 1.381 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5786, allocations: 0 / 1.381 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.5788, allocations: 19.98 kB / 1.381 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5788, allocations: 0 / 1.381 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.5788, allocations: 3.938 kB / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5788, allocations: 0 / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5788, allocations: 128 / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.5791, allocations: 195.6 kB / 1.382 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.5792, allocations: 85 kB / 1.382 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5792, allocations: 4 kB / 1.382 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5794, allocations: 12.03 kB / 1.382 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.5794, allocations: 7.984 kB / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.5794, allocations: 3.984 kB / 1.382 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.5795, allocations: 91.59 kB / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5795, allocations: 0 / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002264/0.5797, allocations: 12 kB / 1.382 GB, free: 8.742 MB / 0.8855 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 () * Number of clocked 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.0006339/0.5804, allocations: 0.7248 MB / 1.382 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.5806, allocations: 59.95 kB / 1.383 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5806, allocations: 4.062 kB / 1.383 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.5807, allocations: 31.92 kB / 1.383 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5809, allocations: 1.375 kB / 1.383 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.5816, allocations: 0.4979 MB / 1.383 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.582, allocations: 0.6848 MB / 1.384 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.582, allocations: 8.25 kB / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.5821, allocations: 19.42 kB / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/0.5821, allocations: 0 / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.5979, allocations: 1.469 MB / 1.385 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.5983, allocations: 202.4 kB / 1.385 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.192, allocations: 0 / 1.385 GB, free: 5.039 MB / 0.8855 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