Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8316/0.8316, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 173.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 447.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 92.38 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 278.4 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004414, allocations: 16 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1625, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.3102, allocations: 109.3 MB / 0.8805 GB, free: 396 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.3104, allocations: 75.97 kB / 0.8805 GB, free: 320 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3799/0.6904, allocations: 1.283 MB / 0.8818 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6904, allocations: 0 / 0.8818 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6904, allocations: 0 / 0.8818 GB, free: 109.3 MB / 0.5417 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.0003148/0.6907, allocations: 357.4 kB / 0.8821 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6908, allocations: 10.69 kB / 0.8821 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.6908, allocations: 35.88 kB / 0.8822 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.6909, allocations: 7.562 kB / 0.8822 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.65e-05/0.6909, allocations: 163 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.6909, allocations: 0.5625 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.691, allocations: 1.406 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.6911, allocations: 69.59 kB / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6911, allocations: 0 / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.6912, allocations: 0 / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6912, allocations: 0.8125 kB / 0.8824 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.6913, allocations: 46 kB / 0.8825 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.6916, allocations: 248.7 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.6917, allocations: 41.84 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.6917, allocations: 4 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.6918, allocations: 36.28 kB / 0.8828 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6918, allocations: 2.516 kB / 0.8828 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003266/0.6921, allocations: 98.66 kB / 0.8829 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.6921, allocations: 54.16 kB / 0.8829 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.6922, allocations: 94.25 kB / 0.883 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.6922, allocations: 25.7 kB / 0.883 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.6922, allocations: 83.08 kB / 0.8831 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.6923, allocations: 7.844 kB / 0.8831 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.6923, allocations: 0 / 0.8831 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.6923, allocations: 328.5 kB / 0.8834 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.6924, allocations: 14.98 kB / 0.8834 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.6925, allocations: 26.12 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.6926, allocations: 23.88 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6926, allocations: 0 / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.6928, allocations: 75.5 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6928, allocations: 5.188 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6928, allocations: 8.344 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6928, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.6929, allocations: 9.656 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6929, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.693, allocations: 15.25 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.693, allocations: 0.6875 kB / 0.8836 GB, free: 107.7 MB / 0.5417 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 5.413e-05/0.6931, allocations: 115.7 kB / 0.8837 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.6931, allocations: 7.375 kB / 0.8837 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.6933, allocations: 82.52 kB / 0.8838 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6933, allocations: 2.844 kB / 0.8838 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6933, allocations: 3.375 kB / 0.8838 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6933, allocations: 4.031 kB / 0.8838 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6935, allocations: 155.6 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6935, allocations: 7 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.6935, allocations: 11.14 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6935, allocations: 0 / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.6935, allocations: 0 / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6936, allocations: 0.8125 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6936, allocations: 2.469 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.6938, allocations: 172.5 kB / 0.8841 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.6938, allocations: 84.44 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.6938, allocations: 0 / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.6939, allocations: 13.94 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.6939, allocations: 10.62 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.6939, allocations: 0.6875 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.694, allocations: 81.53 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.694, allocations: 0 / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002166/0.6942, allocations: 11.19 kB / 0.8843 GB, free: 107 MB / 0.5417 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.0004215/0.6946, allocations: 0.7371 MB / 0.8851 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.6948, allocations: 48.98 kB / 0.8851 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6948, allocations: 0 / 0.8851 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.6949, allocations: 29.86 kB / 0.8851 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.6951, allocations: 4.094 kB / 0.8851 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.6955, allocations: 157.1 kB / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.6956, allocations: 0.6768 MB / 0.8859 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.6956, allocations: 1.078 kB / 0.8859 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.6956, allocations: 12.91 kB / 0.886 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6956, allocations: 0 / 0.886 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.7092, allocations: 1.238 MB / 0.8872 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.7094, allocations: 201.7 kB / 0.8874 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.213, allocations: 0 / 0.8874 GB, free: 105.1 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)