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 1.992/1.992, allocations: 390.5 MB / 398 MB, free: 10.91 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.0009592/0.0009592, allocations: 184.8 kB / 491.2 MB, free: 1.559 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.249/1.249, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009244/0.0009244, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.596e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7064/0.9114, allocations: 149.9 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.9117, allocations: 76.64 kB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004008/0.9157, allocations: 1.278 MB / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9157, allocations: 0 / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9157, allocations: 0 / 1.36 GB, free: 32.8 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.0003004/0.916, allocations: 349.5 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9161, allocations: 12.91 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.9161, allocations: 4.781 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.9162, allocations: 168.4 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.9162, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.9162, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.15e-05/0.9163, allocations: 14.91 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.308e-05/0.9164, allocations: 35.86 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.9164, allocations: 0 / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.9164, allocations: 0 / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.9164, allocations: 0 / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.9166, allocations: 236.4 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.9167, allocations: 27.55 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.9167, allocations: 7.672 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.9167, allocations: 3.844 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.9168, allocations: 38.48 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9168, allocations: 1.031 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.9169, allocations: 42.09 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.9169, allocations: 51.41 kB / 1.361 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.917, allocations: 93.89 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.917, allocations: 27.16 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.9171, allocations: 83.89 kB / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.9171, allocations: 3.906 kB / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.9171, allocations: 0 / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.9172, allocations: 319.3 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.9172, allocations: 7.906 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.9172, allocations: 7.812 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.607e-05/0.9172, allocations: 10.7 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.9172, allocations: 0 / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.872e-05/0.9173, allocations: 42 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.9173, allocations: 8.75 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9173, allocations: 1.406 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.9173, allocations: 0 / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.9174, allocations: 15.08 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.9174, allocations: 0 / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.9175, allocations: 9.234 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.9175, allocations: 3.125 kB / 1.362 GB, free: 31.21 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 5.34e-05/0.9176, allocations: 107.5 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.58e-05/0.9176, allocations: 46.17 kB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.9177, allocations: 0 / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.9177, allocations: 55.11 kB / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9177, allocations: 0 / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9178, allocations: 3.969 kB / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9178, allocations: 5.641 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.476e-05/0.9179, allocations: 134.6 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9179, allocations: 3.938 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.9179, allocations: 10.83 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9179, allocations: 0 / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.918, allocations: 0 / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.918, allocations: 4.031 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.918, allocations: 0 / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.9181, allocations: 141.6 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.9181, allocations: 78.42 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.9181, allocations: 3.844 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.9182, allocations: 7.031 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.9182, allocations: 7.906 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9182, allocations: 1.453 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.645e-05/0.9183, allocations: 79.09 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9183, allocations: 3.969 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002236/0.9185, allocations: 15.62 kB / 1.362 GB, free: 30.54 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.00033/0.9188, allocations: 0.6858 MB / 1.363 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.263e-05/0.9189, allocations: 15.28 kB / 1.363 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9189, allocations: 2.75 kB / 1.363 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.9189, allocations: 3.844 kB / 1.363 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.9191, allocations: 7.781 kB / 1.363 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.9194, allocations: 93.77 kB / 1.363 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.9196, allocations: 0.6816 MB / 1.364 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.9196, allocations: 0 / 1.364 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.9196, allocations: 14.84 kB / 1.364 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9196, allocations: 0 / 1.364 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.9379, allocations: 0.8898 MB / 1.365 GB, free: 29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.9381, allocations: 162.7 kB / 1.365 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.445, allocations: 0 / 1.365 GB, free: 28.81 MB / 0.8386 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