Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_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.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 152 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.001094/0.001094, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 64.27 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1753, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003468/0.1788, allocations: 1.404 MB / 0.5858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.1795, allocations: 284.7 kB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.1796, allocations: 0 / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.1796, allocations: 7.938 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.1797, allocations: 3.938 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1802, allocations: 63.69 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.1803, allocations: 23.91 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1804, allocations: 11.94 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.1804, allocations: 7.984 kB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.1805, allocations: 11.94 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1805, allocations: 4 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.1808, allocations: 87.84 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.1808, allocations: 11.98 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1808, allocations: 3.938 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.181, allocations: 68.14 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.1811, allocations: 0 / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1811, allocations: 3.938 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1811, allocations: 0 / 0.5864 GB, free: 2.484 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.0004713/0.1815, allocations: 347.4 kB / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1816, allocations: 12.03 kB / 0.5867 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1816, allocations: 42.67 kB / 0.5868 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1817, allocations: 0.9375 kB / 0.5868 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1818, allocations: 164.4 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1818, allocations: 384 / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1819, allocations: 384 / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.182, allocations: 50.23 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1821, allocations: 3.938 kB / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1821, allocations: 0 / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1821, allocations: 0 / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1823, allocations: 43.89 kB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1826, allocations: 248.9 kB / 0.5873 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1828, allocations: 38.5 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.1829, allocations: 20.89 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1829, allocations: 11.98 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1829, allocations: 30.56 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1829, allocations: 0 / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.1833, allocations: 85.58 kB / 0.5875 GB, free: 1.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1833, allocations: 51.41 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.1834, allocations: 102 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1835, allocations: 25.7 kB / 0.5876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.1835, allocations: 84.12 kB / 0.5877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1835, allocations: 11.89 kB / 0.5877 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.1836, allocations: 13.72 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1837, allocations: 314.8 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1838, allocations: 15.98 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1839, allocations: 19.97 kB / 0.5881 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.184, allocations: 40.77 kB / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.184, allocations: 7.875 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.1842, allocations: 65.66 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1842, allocations: 4 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1842, allocations: 4.094 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1843, allocations: 0 / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.1844, allocations: 11.98 kB / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1844, allocations: 0 / 0.5882 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.1844, allocations: 8 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1844, allocations: 0 / 0.5882 GB, free: 416 kB / 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 7.491e-05/0.1845, allocations: 113.7 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1846, allocations: 11.89 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1848, allocations: 76.72 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1848, allocations: 0 / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1848, allocations: 4 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1848, allocations: 0 / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.185, allocations: 161.6 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.185, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.1851, allocations: 7.984 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1851, allocations: 0 / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1851, allocations: 4.031 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1851, allocations: 0 / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1851, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1854, allocations: 163.4 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.1854, allocations: 85.05 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1854, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1855, allocations: 12.02 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1856, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1856, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.1856, allocations: 83.27 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1856, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002503/0.1859, allocations: 16 kB / 0.5889 GB, free: 15.58 MB / 0.4981 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.0005825/0.1865, allocations: 0.7046 MB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1867, allocations: 39.91 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1867, allocations: 0 / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.1868, allocations: 24.06 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1871, allocations: 4 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.1876, allocations: 152.2 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1879, allocations: 0.6768 MB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.1879, allocations: 3.938 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.188, allocations: 7.5 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.188, allocations: 4 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2062, allocations: 1.453 MB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.748, allocations: 3.984 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)