Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001002/0.001002, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.468/1.468, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009154, allocations: 99.77 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.046e-05, allocations: 6.031 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9749/1.243, allocations: 149.1 MB / 1.352 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.244, allocations: 79.22 kB / 1.352 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004581/1.248, allocations: 1.277 MB / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.248, allocations: 0 / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.248, allocations: 4 kB / 1.353 GB, free: 33.97 MB / 0.8386 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.0003697/1.249, allocations: 349.4 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.249, allocations: 7.625 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/1.249, allocations: 5.234 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.983e-05/1.249, allocations: 175.7 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.249, allocations: 0 / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/1.249, allocations: 0.5625 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.925e-05/1.249, allocations: 15.66 kB / 1.354 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.928e-05/1.249, allocations: 38.42 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.249, allocations: 0.6094 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/1.249, allocations: 0 / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.249, allocations: 0 / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/1.249, allocations: 229 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/1.25, allocations: 34.25 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/1.25, allocations: 8.828 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/1.25, allocations: 0 / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.25, allocations: 35.3 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.25, allocations: 0 / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/1.25, allocations: 35.02 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/1.25, allocations: 59.12 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/1.25, allocations: 90.47 kB / 1.354 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/1.25, allocations: 29.73 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/1.25, allocations: 84.08 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/1.25, allocations: 4.422 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.25, allocations: 0 / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.25, allocations: 323.5 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/1.25, allocations: 4.062 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/1.25, allocations: 5.453 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/1.25, allocations: 8.266 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.25, allocations: 4.062 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.392e-05/1.25, allocations: 35.08 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.25, allocations: 7.625 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.25, allocations: 0.5469 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.25, allocations: 0 / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/1.25, allocations: 14.62 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.25, allocations: 0 / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/1.25, allocations: 10.23 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/1.25, allocations: 4.609 kB / 1.355 GB, free: 32.39 MB / 0.8386 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 (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 6.643e-05/1.251, allocations: 104.9 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.929e-05/1.251, allocations: 50.25 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/1.251, allocations: 3.938 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/1.251, allocations: 44.52 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.251, allocations: 5.281 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.251, allocations: 0 / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.251, allocations: 0.8594 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/1.251, allocations: 142.5 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.251, allocations: 0 / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/1.251, allocations: 10.84 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.251, allocations: 0 / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/1.251, allocations: 0 / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.251, allocations: 0.7969 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.251, allocations: 7.922 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.635e-05/1.251, allocations: 147.5 kB / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/1.251, allocations: 77.86 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.251, allocations: 8.516 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/1.251, allocations: 6.422 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/1.251, allocations: 4.859 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/1.251, allocations: 0.7969 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.452e-05/1.251, allocations: 83.97 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.251, allocations: 4.031 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002227/1.252, allocations: 19.34 kB / 1.355 GB, free: 31.7 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 (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.0004177/1.252, allocations: 0.6884 MB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.891e-05/1.252, allocations: 12.14 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/1.252, allocations: 4.094 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/1.252, allocations: 7.188 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/1.252, allocations: 4.672 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/1.253, allocations: 95.36 kB / 1.356 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/1.253, allocations: 0.6765 MB / 1.357 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.604e-05/1.253, allocations: 4.734 kB / 1.357 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/1.253, allocations: 11.19 kB / 1.357 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.253, allocations: 8 kB / 1.357 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.273, allocations: 0.876 MB / 1.358 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.273, allocations: 166.9 kB / 1.358 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.865, allocations: 3.781 kB / 1.358 GB, free: 29.96 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat does not exist to compare? outputFormat=mat