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.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 168.3 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008797/0.0008796, allocations: 92.98 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.803e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 106.4 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.741/0.9327, allocations: 132.5 MB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.933, allocations: 70.83 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003752/0.9367, allocations: 1.256 MB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9368, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.9368, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 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.0003668/0.9371, allocations: 355.4 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9372, allocations: 12.03 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.9372, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.9373, allocations: 167 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9374, allocations: 4 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.9374, allocations: 0 / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.293e-05/0.9375, allocations: 7.875 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.9375, allocations: 41.56 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.9375, allocations: 4 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.9376, allocations: 3.984 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9376, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.9379, allocations: 239.5 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.9379, allocations: 26.11 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.938, allocations: 12.92 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.938, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.938, allocations: 30.56 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.938, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.9382, allocations: 43.5 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.9382, allocations: 51.41 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.9383, allocations: 96.36 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.9383, allocations: 29.64 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.9383, allocations: 87.23 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.9384, allocations: 3.906 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.9384, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.9385, allocations: 318.8 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.9385, allocations: 3.562 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.9385, allocations: 4 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.9385, allocations: 7.062 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9385, allocations: 0 / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.467e-05/0.9386, allocations: 45.25 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9386, allocations: 4 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9386, allocations: 4 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.9387, allocations: 0 / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.9387, allocations: 11.98 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.9388, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.9388, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9388, allocations: 4 kB / 1.018 GB, free: 2.367 MB / 0.6355 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.436e-05/0.9389, allocations: 111.5 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.786e-05/0.939, allocations: 45.56 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.939, allocations: 7.906 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.9391, allocations: 53.2 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9391, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9391, allocations: 3.938 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9391, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.9393, allocations: 137.3 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9393, allocations: 4.062 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.9393, allocations: 11.98 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9393, allocations: 3.938 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.9394, allocations: 4 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.9394, allocations: 0.875 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9394, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.9395, allocations: 141.4 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.9395, allocations: 81.11 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.9395, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.9396, allocations: 7.984 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.9397, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.9397, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.9397, allocations: 82.53 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9397, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002229/0.9399, allocations: 15.92 kB / 1.018 GB, free: 1.594 MB / 0.6355 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.0003879/0.9403, allocations: 0.69 MB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.9404, allocations: 11.19 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9404, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.9404, allocations: 14.84 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.9406, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.9409, allocations: 100.7 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.9411, allocations: 0.6806 MB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.9412, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.9412, allocations: 7.438 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/0.9412, allocations: 0 / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.9591, allocations: 0.9214 MB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.9594, allocations: 162.2 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.442, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.6511 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)