Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_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.001019/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001138/0.001138, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7487/0.7487, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 59.62 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.181, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002857/0.1839, allocations: 1.471 MB / 0.5811 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.1845, allocations: 283.1 kB / 0.5814 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.1845, allocations: 0 / 0.5814 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1846, allocations: 4 kB / 0.5814 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.1847, allocations: 7.922 kB / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.185, allocations: 51.81 kB / 0.5814 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1851, allocations: 23.86 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1852, allocations: 8 kB / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1853, allocations: 4 kB / 0.5815 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.1853, allocations: 19.86 kB / 0.5815 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.1854, allocations: 7.938 kB / 0.5815 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.1856, allocations: 95.83 kB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1856, allocations: 7.984 kB / 0.5816 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1856, allocations: 11.94 kB / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1858, allocations: 68.08 kB / 0.5817 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1858, allocations: 0 / 0.5817 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1858, allocations: 0 / 0.5817 GB, free: 6.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1858, allocations: 0 / 0.5817 GB, free: 6.969 MB / 494.1 MB 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.0005718/0.1864, allocations: 351.4 kB / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.1865, allocations: 15.95 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1865, allocations: 34.75 kB / 0.5821 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.1866, allocations: 4.938 kB / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1867, allocations: 164.3 kB / 0.5822 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1867, allocations: 4.375 kB / 0.5822 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1868, allocations: 384 / 0.5822 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.187, allocations: 54.17 kB / 0.5823 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.187, allocations: 3.938 kB / 0.5823 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.187, allocations: 0 / 0.5823 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.187, allocations: 0 / 0.5823 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1872, allocations: 39.95 kB / 0.5823 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1875, allocations: 241 kB / 0.5825 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1877, allocations: 38.5 kB / 0.5826 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.1878, allocations: 28.83 kB / 0.5826 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1878, allocations: 4 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1878, allocations: 34.56 kB / 0.5826 GB, free: 5.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.1878, allocations: 0 / 0.5826 GB, free: 5.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.1882, allocations: 77.64 kB / 0.5827 GB, free: 5.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1883, allocations: 55.41 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.1884, allocations: 102 kB / 0.5829 GB, free: 5.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1884, allocations: 25.7 kB / 0.5829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1884, allocations: 84.12 kB / 0.583 GB, free: 5.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1885, allocations: 3.906 kB / 0.583 GB, free: 5.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1885, allocations: 17.72 kB / 0.583 GB, free: 5.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1886, allocations: 310.8 kB / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1887, allocations: 23.92 kB / 0.5833 GB, free: 5.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.1888, allocations: 23.97 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.189, allocations: 36.83 kB / 0.5834 GB, free: 4.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.189, allocations: 3.938 kB / 0.5834 GB, free: 4.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.1892, allocations: 61.66 kB / 0.5834 GB, free: 4.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1892, allocations: 8 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1892, allocations: 4.094 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1892, allocations: 3.938 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.1893, allocations: 7.984 kB / 0.5835 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1893, allocations: 7.984 kB / 0.5835 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1894, allocations: 0 / 0.5835 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1894, allocations: 11.88 kB / 0.5835 GB, free: 4.883 MB / 494.1 MB 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 8.089e-05/0.1895, allocations: 117.8 kB / 0.5836 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1895, allocations: 4.094 kB / 0.5836 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1897, allocations: 72.78 kB / 0.5837 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1898, allocations: 3.984 kB / 0.5837 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1898, allocations: 0 / 0.5837 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1898, allocations: 0 / 0.5837 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.19, allocations: 157.6 kB / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.19, allocations: 0 / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.19, allocations: 15.98 kB / 0.5838 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.19, allocations: 0 / 0.5838 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1901, allocations: 4.031 kB / 0.5838 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1901, allocations: 0 / 0.5838 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1901, allocations: 0 / 0.5838 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1903, allocations: 163.4 kB / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1904, allocations: 81.05 kB / 0.5841 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1904, allocations: 7.984 kB / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.1905, allocations: 12.03 kB / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.1905, allocations: 0 / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1905, allocations: 0 / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.1906, allocations: 83.27 kB / 0.5842 GB, free: 4.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1906, allocations: 0 / 0.5842 GB, free: 4.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1908, allocations: 8 kB / 0.5842 GB, free: 4.062 MB / 494.1 MB 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.0007641/0.1916, allocations: 0.7124 MB / 0.5849 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1918, allocations: 31.97 kB / 0.5849 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1918, allocations: 0 / 0.5849 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1919, allocations: 28.06 kB / 0.5849 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1924, allocations: 4 kB / 0.5849 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.1929, allocations: 157.1 kB / 0.5851 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1933, allocations: 0.6768 MB / 0.5857 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.1933, allocations: 0 / 0.5857 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.1934, allocations: 15.5 kB / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1934, allocations: 0 / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.415/1.608, allocations: 1.326 MB / 0.5871 GB, free: 1.191 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.608, allocations: 208.5 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.621, allocations: 0 / 0.5873 GB, free: 0.9336 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)