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.001478/0.001478, allocations: 105.4 kB / 15.7 MB, free: 24 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.001639/0.001639, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.711/1.711, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001455/0.001455, allocations: 69.95 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002738/0.2302, allocations: 1.408 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.2308, allocations: 287 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.2308, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.2309, allocations: 4 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.2309, allocations: 7.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.2313, allocations: 51.75 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.2313, allocations: 31.86 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.2314, allocations: 4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.2315, allocations: 11.98 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.2315, allocations: 7.922 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.2316, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2318, allocations: 95.78 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2318, allocations: 11.98 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2318, allocations: 11.94 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.232, allocations: 60.08 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.232, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.232, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.232, allocations: 4 kB / 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.0004694/0.2325, allocations: 355.4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2326, allocations: 8.031 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2326, allocations: 34.75 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2326, allocations: 4.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2328, allocations: 164.3 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2328, allocations: 384 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2328, allocations: 4.375 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.233, allocations: 46.23 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.233, allocations: 3.938 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.233, allocations: 4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.233, allocations: 4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2332, allocations: 35.95 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.2336, allocations: 244.9 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2337, allocations: 46.42 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.2338, allocations: 20.91 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2338, allocations: 4 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2338, allocations: 34.56 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.2339, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004216/0.2343, allocations: 81.58 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2343, allocations: 51.41 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.2344, allocations: 102 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2344, allocations: 29.7 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.2345, allocations: 84.12 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.2345, allocations: 7.906 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.2346, allocations: 13.72 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2347, allocations: 314.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.2348, allocations: 15.98 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.2348, allocations: 23.97 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.235, allocations: 32.83 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.235, 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.0001915/0.2352, allocations: 77.53 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2352, allocations: 4 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2353, allocations: 4.094 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2353, allocations: 4.188 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.2354, allocations: 7.984 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2354, allocations: 3.984 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.2354, allocations: 4 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2354, allocations: 0 / 0.7874 GB, free: 9.168 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.758e-05/0.2355, allocations: 117.8 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.2356, allocations: 3.984 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.2358, allocations: 76.69 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2358, allocations: 4 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2358, allocations: 3.938 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2358, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.236, allocations: 161.5 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.236, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.2361, allocations: 7.984 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2361, allocations: 4 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2361, allocations: 4.031 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2361, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2361, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.2364, allocations: 163.5 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2364, allocations: 77.11 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2364, allocations: 3.984 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.2365, allocations: 8.031 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.2366, allocations: 4 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2366, allocations: 3.984 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.2366, allocations: 83.28 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.673e-06/0.2366, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002419/0.2369, allocations: 11.94 kB / 0.7881 GB, free: 8.344 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.0006599/0.2375, allocations: 0.7124 MB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2377, allocations: 31.97 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2378, allocations: 0 / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.2379, allocations: 28 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2382, allocations: 10.41 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.2387, allocations: 152 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.2389, allocations: 0.6768 MB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.2389, allocations: 4 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.239, allocations: 11.44 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.239, allocations: 0 / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.258, allocations: 1.474 MB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.892, allocations: 5.562 kB / 0.7911 GB, free: 5.262 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)