Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_Buildings_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.001065/0.001065, allocations: 109.4 kB / 15.69 MB, free: 128 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.001288/0.001288, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 77.31 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2218, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002889/0.2247, allocations: 1.412 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.2253, allocations: 287 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.2254, allocations: 4 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.2254, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.2255, allocations: 3.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.2258, allocations: 51.75 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.2259, allocations: 27.92 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.226, allocations: 4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.2261, allocations: 15.92 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.2261, allocations: 11.98 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2261, allocations: 3.984 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2263, allocations: 87.86 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2263, allocations: 7.922 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.2264, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2265, allocations: 76.02 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2265, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2265, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2266, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 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.0004258/0.227, allocations: 355.4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.227, allocations: 8.031 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.2271, allocations: 30.75 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2271, allocations: 4.938 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2272, allocations: 160.4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2272, allocations: 4.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2273, allocations: 8.312 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2274, allocations: 50.23 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2275, allocations: 7.875 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2275, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2275, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2276, allocations: 31.95 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.2279, allocations: 252.9 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2281, allocations: 42.48 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.2282, allocations: 20.91 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2282, allocations: 0 / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2282, allocations: 38.5 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2282, allocations: 4 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003294/0.2286, allocations: 77.64 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2286, allocations: 51.41 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.2287, allocations: 101.8 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2287, allocations: 29.7 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.2287, allocations: 84.27 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2288, allocations: 7.844 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2288, allocations: 13.72 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2289, allocations: 314.8 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.229, allocations: 15.97 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.2291, allocations: 23.92 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2292, allocations: 36.89 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2292, allocations: 7.938 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.2294, allocations: 61.84 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2294, allocations: 8 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2294, allocations: 0 / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2295, allocations: 3.984 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.2295, allocations: 7.984 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2296, allocations: 4.031 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.2296, allocations: 4 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.2296, allocations: 4 kB / 0.7874 GB, free: 9.18 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.2297, allocations: 122.4 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.2297, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.2299, allocations: 72.69 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.23, allocations: 4.031 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.23, allocations: 3.938 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.23, allocations: 4 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2301, allocations: 161.5 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2301, allocations: 3.984 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.2302, allocations: 8 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2302, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.2302, allocations: 4 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2302, allocations: 3.984 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2302, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.2304, allocations: 167.4 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.2305, allocations: 81.09 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2305, allocations: 4 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.2306, allocations: 0 / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.2306, allocations: 11.98 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.2306, allocations: 4.031 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.2307, allocations: 79.28 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2307, allocations: 0 / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002187/0.2309, allocations: 8 kB / 0.7881 GB, free: 8.352 MB / 0.6075 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 (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.0005285/0.2314, allocations: 0.7162 MB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.2316, allocations: 35.97 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2316, allocations: 0 / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.2317, allocations: 23.97 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.232, allocations: 2.5 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.2325, allocations: 164.2 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2327, allocations: 0.6768 MB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.2327, allocations: 0 / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2328, allocations: 7.438 kB / 0.7896 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2328, allocations: 0 / 0.7896 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2504, allocations: 1.474 MB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/7.179, allocations: 6.406 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)