Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.323/2.323, allocations: 393.5 MB / 408.4 MB, free: 10.84 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.001105/0.001105, allocations: 195.8 kB / 0.4902 GB, free: 2.082 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.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009989/0.0009991, allocations: 96.27 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 6.719 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3644, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.5711, allocations: 150.7 MB / 1.376 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.5715, allocations: 75.95 kB / 1.376 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004388/0.5759, allocations: 1.281 MB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.203e-05/0.5759, allocations: 7.922 kB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5759, allocations: 0 / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004164/0.5764, allocations: 347.3 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.5764, allocations: 12.56 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.5765, allocations: 34.56 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.5765, allocations: 7.859 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.5766, allocations: 167 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5767, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5767, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5769, allocations: 57.67 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5769, allocations: 0 / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5769, allocations: 3.938 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5769, allocations: 3.984 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.5771, allocations: 51.89 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.5775, allocations: 248.9 kB / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5776, allocations: 46.59 kB / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.5777, allocations: 0 / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5777, allocations: 34.56 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5777, allocations: 0 / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.5781, allocations: 105.7 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5781, allocations: 55.36 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.5782, allocations: 93 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.5782, allocations: 25.7 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.5783, allocations: 80.14 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.5783, allocations: 7.891 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.5783, allocations: 4 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5784, allocations: 314.8 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.5785, allocations: 20.02 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.5786, allocations: 23.98 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.5787, allocations: 24.03 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5787, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.5789, allocations: 77.61 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5789, allocations: 10.28 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5789, allocations: 0 / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5789, allocations: 4.031 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.579, allocations: 11.98 kB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.579, allocations: 0 / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.5791, allocations: 19.84 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.5791, allocations: 4 kB / 1.38 GB, free: 15.42 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.102e-05/0.5792, allocations: 106.7 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.5792, allocations: 4 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.5794, allocations: 88.72 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5795, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5795, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5795, allocations: 3.984 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.5796, allocations: 161.7 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5796, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.5797, allocations: 11.98 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5797, allocations: 3.938 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5797, allocations: 4 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5797, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.5797, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.58, allocations: 171.5 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.58, allocations: 81.11 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.58, allocations: 4 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.5801, allocations: 7.984 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.5802, allocations: 7.969 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.5802, allocations: 4 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.5802, allocations: 75.28 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5802, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002179/0.5804, allocations: 23.92 kB / 1.38 GB, free: 14.58 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 (2): * Single equations (assignments): 2 * 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.0005601/0.581, allocations: 0.7226 MB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.5812, allocations: 47.98 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5812, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.5813, allocations: 27.92 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.5815, allocations: 4 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.5819, allocations: 173.4 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5822, allocations: 0.677 MB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.5822, allocations: 4 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.5822, allocations: 11.44 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5823, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.5946, allocations: 1.215 MB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.5949, allocations: 200.8 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.232, allocations: 0 / 1.383 GB, free: 11.54 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat does not exist to compare? outputFormat=mat