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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002291/0.002291, allocations: 282.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002194, allocations: 92.36 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1894, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002997/0.1924, allocations: 1.403 MB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005912/0.193, allocations: 289.6 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.1931, allocations: 3.938 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1932, allocations: 0.5938 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.1932, allocations: 12.64 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1936, allocations: 52.62 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.1937, allocations: 27.92 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.1938, allocations: 5.375 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.1938, allocations: 11.98 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.1939, allocations: 3.938 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1939, allocations: 4.688 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1941, allocations: 87.84 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1941, allocations: 8.609 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.1942, allocations: 15.92 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1943, allocations: 67.75 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1943, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1944, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1944, allocations: 4 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB 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.0004369/0.1948, allocations: 343.5 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1949, allocations: 8.031 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1949, allocations: 34.73 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1949, allocations: 8.844 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.195, allocations: 168.4 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1951, allocations: 4.375 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.1951, allocations: 384 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1953, allocations: 54.17 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1953, allocations: 7.875 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1953, allocations: 0 / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1953, allocations: 4 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1955, allocations: 31.95 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1958, allocations: 245 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1959, allocations: 38.5 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.196, allocations: 28.88 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.196, allocations: 0 / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.196, allocations: 42.5 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.196, allocations: 0 / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.1964, allocations: 81.55 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1964, allocations: 51.41 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.1965, allocations: 97.86 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1965, allocations: 29.83 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.1966, allocations: 88.08 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1966, allocations: 11.89 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1966, allocations: 13.72 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1967, allocations: 310.8 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.1968, allocations: 15.98 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.1969, allocations: 23.91 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1971, allocations: 40.89 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1971, allocations: 3.938 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001984/0.1973, allocations: 65.66 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1973, allocations: 4 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1973, allocations: 0 / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1973, allocations: 4 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.1974, allocations: 12.02 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1975, allocations: 0 / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1975, allocations: 11.94 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1975, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.1976, allocations: 119 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1976, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.1979, allocations: 76.77 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1979, allocations: 4 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1979, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1979, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1981, allocations: 161.5 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1981, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.1981, allocations: 7.984 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1981, allocations: 4 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1982, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1982, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1982, allocations: 4.031 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1984, allocations: 167.4 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1985, allocations: 81.02 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1985, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.1986, allocations: 7.984 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1986, allocations: 8.031 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1986, allocations: 0 / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.1987, allocations: 87.27 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1987, allocations: 3.938 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1989, allocations: 12 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005346/0.1994, allocations: 0.7124 MB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1997, allocations: 31.97 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1997, allocations: 4 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.1998, allocations: 15.98 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2001, allocations: 12.89 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.2005, allocations: 144.3 kB / 0.6856 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.2008, allocations: 0.6807 MB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.2008, allocations: 0 / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.2008, allocations: 11.44 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2008, allocations: 0 / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.2175, allocations: 1.472 MB / 0.6877 GB, free: 8.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.032, allocations: 15.67 kB / 0.6878 GB, free: 8.645 MB / 494.1 MB (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/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)