Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 174.4 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008353/0.0008354, allocations: 90.12 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0005, allocations: 8.688 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001502/0.205, allocations: 1.122 MB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.2055, allocations: 275.4 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.2056, allocations: 0 / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2056, allocations: 0 / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.2057, allocations: 7.938 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.206, allocations: 43.81 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2061, allocations: 23.92 kB / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.2061, allocations: 7.938 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.2062, allocations: 11.98 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.2062, allocations: 4 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2063, allocations: 0 / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2064, allocations: 103.8 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-06/0.2064, allocations: 3.984 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.2065, allocations: 29.64 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.2066, allocations: 39.95 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2066, allocations: 0 / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2066, allocations: 0 / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2066, allocations: 0 / 0.9019 GB, free: 62.49 MB / 0.6042 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.0003566/0.207, allocations: 351.6 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.207, allocations: 8.031 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.207, allocations: 30.56 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.2071, allocations: 11.91 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.105e-05/0.2072, allocations: 167 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2072, allocations: 3.938 kB / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.2072, allocations: 0 / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2074, allocations: 61.67 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2074, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2074, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2074, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2076, allocations: 51.84 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.2079, allocations: 256.8 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.208, allocations: 38.56 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.2081, allocations: 32.91 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2081, allocations: 0 / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.2082, allocations: 38.48 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2082, allocations: 0 / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003361/0.2085, allocations: 97.66 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2086, allocations: 51.41 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.2086, allocations: 105.8 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.2086, allocations: 25.83 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.2087, allocations: 84.14 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.2087, allocations: 7.906 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2087, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.2088, allocations: 318.8 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.2088, allocations: 19.98 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.2089, allocations: 23.98 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.209, allocations: 23.92 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.209, allocations: 0 / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.2092, allocations: 77.72 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2093, allocations: 4 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2093, allocations: 0 / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2093, allocations: 0 / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.2094, allocations: 11.98 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2094, allocations: 4 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.2095, allocations: 16.02 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2095, allocations: 3.953 kB / 0.9038 GB, free: 60.38 MB / 0.6042 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.125e-05/0.2095, allocations: 109.8 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2096, allocations: 3.906 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.2098, allocations: 88.72 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2098, allocations: 0 / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2098, allocations: 3.938 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2098, allocations: 192 / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2099, allocations: 161.6 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.21, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.21, allocations: 15.98 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.21, allocations: 3.938 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.21, allocations: 8.016 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.21, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.21, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.2103, allocations: 175.4 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.2103, allocations: 85.11 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2103, allocations: 0 / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.2104, allocations: 8 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2104, allocations: 7.984 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2104, allocations: 0 / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.2105, allocations: 79.28 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2105, allocations: 0 / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002077/0.2107, allocations: 12 kB / 0.9045 GB, free: 59.53 MB / 0.6042 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.0004811/0.2112, allocations: 0.7241 MB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2114, allocations: 51.89 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2114, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.2115, allocations: 28.05 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2118, allocations: 4 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2121, allocations: 159.4 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2123, allocations: 0.6731 MB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.2123, allocations: 4.062 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.2123, allocations: 15.42 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2123, allocations: 0 / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.2234, allocations: 1.242 MB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.2236, allocations: 219.8 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.849, allocations: 3.938 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)