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.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001351/0.001351, allocations: 177.7 kB / 326.5 MB, free: 2.25 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.933/1.933, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008813/0.0008813, allocations: 92.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12.59 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001683/0.2461, allocations: 1.128 MB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000471/0.2466, allocations: 260.6 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.2467, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.2467, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.2468, allocations: 8 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2471, allocations: 47.86 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.2471, allocations: 11.98 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.2472, allocations: 11.97 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.2473, allocations: 11.94 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.2473, allocations: 7.984 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2474, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.2475, allocations: 107.8 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.2476, allocations: 8 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.2476, allocations: 25.7 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2477, allocations: 35.95 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2477, allocations: 0 / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2477, allocations: 4 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2477, allocations: 0 / 0.9018 GB, free: 62.7 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.0004183/0.2482, allocations: 347.6 kB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2482, allocations: 16.03 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2482, allocations: 34.5 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.2483, allocations: 7.906 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.2484, allocations: 167 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2484, allocations: 0 / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.2484, allocations: 0 / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2486, allocations: 53.67 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2486, allocations: 4 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2486, allocations: 0 / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2486, allocations: 4 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2488, allocations: 43.95 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.2491, allocations: 256.8 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2492, allocations: 38.56 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2492, allocations: 7.969 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2493, allocations: 30.56 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2493, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.2496, allocations: 105.6 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2496, allocations: 51.41 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.2497, allocations: 105.9 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2497, allocations: 25.7 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.2498, allocations: 80.14 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.2498, allocations: 11.89 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2498, allocations: 3.938 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.2499, allocations: 318.8 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.2499, allocations: 23.98 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.25, allocations: 19.98 kB / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.2501, allocations: 19.98 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2501, allocations: 0 / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.2503, allocations: 81.66 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2503, allocations: 4 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2503, allocations: 4 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2503, allocations: 0 / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.2504, allocations: 11.98 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2505, allocations: 8.031 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.2505, allocations: 7.984 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2505, allocations: 4 kB / 0.9036 GB, free: 60.61 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 6.092e-05/0.2506, allocations: 113.8 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.2506, allocations: 3.906 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.2508, allocations: 84.78 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2508, allocations: 0 / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2508, allocations: 0 / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2508, allocations: 0 / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.251, allocations: 165.5 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.251, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.251, allocations: 20.02 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.251, allocations: 0 / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2511, allocations: 0 / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2511, allocations: 0 / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2511, allocations: 192 / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2513, allocations: 171.5 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.2513, allocations: 89.09 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2513, allocations: 0 / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.2514, allocations: 7.984 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2514, allocations: 4 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2514, allocations: 0 / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.2515, allocations: 83.25 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2515, allocations: 4 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002178/0.2517, allocations: 8 kB / 0.9043 GB, free: 59.78 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.0004547/0.2522, allocations: 0.7278 MB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.2524, allocations: 47.95 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2524, allocations: 4.094 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.2525, allocations: 27.92 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2527, allocations: 7.938 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.2531, allocations: 154.3 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2532, allocations: 0.681 MB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.2532, allocations: 0 / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.2533, allocations: 15.44 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2533, allocations: 0 / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.2648, allocations: 1.21 MB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.265, allocations: 218.8 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.762, allocations: 4 kB / 0.9073 GB, free: 56.73 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)