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.0009097/0.0009097, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004636/0.004636, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.458/1.458, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005424/0.0005425, allocations: 15.47 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001467/0.217, allocations: 1.136 MB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.2175, allocations: 296.1 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.2176, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.2176, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.2176, allocations: 3.938 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2179, allocations: 47.81 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.218, allocations: 23.92 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.218, allocations: 4 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.2181, allocations: 11.94 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.2181, allocations: 3.984 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.2182, allocations: 11.98 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2183, allocations: 95.78 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.2184, allocations: 7.938 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.2184, allocations: 33.69 kB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2185, allocations: 68.02 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2185, allocations: 0 / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2186, allocations: 0 / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2186, allocations: 0 / 0.7897 GB, free: 9.707 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.0004115/0.219, allocations: 362.2 kB / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.219, allocations: 12.02 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.2191, allocations: 30.75 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.2191, allocations: 8.875 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.2192, allocations: 160.4 kB / 0.7902 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2192, allocations: 4.359 kB / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.2192, allocations: 384 / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2194, allocations: 62.23 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2194, allocations: 7.875 kB / 0.7903 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2194, allocations: 0 / 0.7903 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2194, allocations: 0 / 0.7903 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.2196, allocations: 47.89 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2199, allocations: 248.9 kB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.22, allocations: 42.5 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.2201, allocations: 36.89 kB / 0.7907 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2202, allocations: 0 / 0.7907 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2202, allocations: 30.56 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2202, allocations: 0 / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.2206, allocations: 105.6 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2206, allocations: 51.41 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.2207, allocations: 97.86 kB / 0.7909 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2207, allocations: 25.7 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2208, allocations: 88.12 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2208, allocations: 8.031 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.2208, allocations: 9.719 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2209, allocations: 314.8 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.221, allocations: 19.98 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.2211, allocations: 23.97 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2213, allocations: 56.83 kB / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2213, allocations: 3.938 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.2215, allocations: 77.66 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2215, allocations: 4 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2215, allocations: 0 / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2215, allocations: 0 / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.2216, allocations: 11.98 kB / 0.7915 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2216, allocations: 0 / 0.7915 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.2217, allocations: 12.03 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2217, allocations: 0 / 0.7916 GB, free: 7.551 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 6.661e-05/0.2218, allocations: 118.4 kB / 0.7917 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.2218, allocations: 3.984 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.222, allocations: 88.66 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.222, allocations: 0 / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.222, allocations: 0 / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2221, allocations: 0 / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2222, allocations: 165.5 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2222, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.2223, allocations: 11.98 kB / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2223, allocations: 4.031 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2223, allocations: 4 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2223, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2223, allocations: 4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2226, allocations: 183.3 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.2226, allocations: 81.11 kB / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2226, allocations: 0 / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.2227, allocations: 7.984 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.2228, allocations: 4.188 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2228, allocations: 4 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.2228, allocations: 87.25 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2228, allocations: 0 / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.223, allocations: 12.03 kB / 0.7923 GB, free: 6.688 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.0005328/0.2236, allocations: 0.7163 MB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2238, allocations: 47.91 kB / 0.793 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2238, allocations: 0 / 0.793 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.2239, allocations: 28.08 kB / 0.7931 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.2242, allocations: 7.984 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.2245, allocations: 154.2 kB / 0.7932 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2247, allocations: 0.6771 MB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.2248, allocations: 4 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.2248, allocations: 15.38 kB / 0.7939 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2248, allocations: 4 kB / 0.7939 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.2353, allocations: 1.214 MB / 0.7951 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.2355, allocations: 221.6 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.887, allocations: 2.375 kB / 0.7953 GB, free: 3.617 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)