Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, 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.002155/0.002156, allocations: 194.6 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9566/0.9566, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.66 kB / 0.5054 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003638/0.1804, allocations: 1.255 MB / 0.5856 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.1812, allocations: 299.1 kB / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1813, allocations: 0 / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1813, allocations: 0 / 0.5859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.1814, allocations: 3.938 kB / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1817, allocations: 55.73 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.1818, allocations: 15.94 kB / 0.586 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.1818, allocations: 4 kB / 0.586 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.1819, allocations: 4 kB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.1819, allocations: 11.92 kB / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.182, allocations: 0 / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1821, allocations: 51.95 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1821, allocations: 3.984 kB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.1822, allocations: 11.94 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1825, allocations: 52.16 kB / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1825, allocations: 8 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1825, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1825, allocations: 0 / 0.5861 GB, free: 2.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000514/0.183, allocations: 331.6 kB / 0.5864 GB, free: 2.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1831, allocations: 8.031 kB / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.1833, allocations: 24.77 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1836, allocations: 172.2 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1836, allocations: 4.375 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1836, allocations: 12.38 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1837, allocations: 38.25 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1838, allocations: 192 / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1838, allocations: 7.938 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1838, allocations: 0 / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.1838, allocations: 12 kB / 0.5867 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.184, allocations: 157.6 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.1861, allocations: 274.4 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.1861, allocations: 20.84 kB / 0.5871 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1861, allocations: 0 / 0.5871 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1862, allocations: 34.56 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1862, allocations: 0 / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.1864, allocations: 65.62 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1864, allocations: 55.34 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.1865, allocations: 97.86 kB / 0.5874 GB, free: 1.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1865, allocations: 25.7 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1866, allocations: 80.14 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1866, allocations: 11.8 kB / 0.5875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1867, allocations: 21.84 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1869, allocations: 314.8 kB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.1869, allocations: 8 kB / 0.5878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.1869, allocations: 7.984 kB / 0.5878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.187, allocations: 29.14 kB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.187, allocations: 0 / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.366e-05/0.1871, allocations: 61.61 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1871, allocations: 4 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1871, allocations: 3.938 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1871, allocations: 4 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.1872, allocations: 4 kB / 0.5879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1872, allocations: 4 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.1873, allocations: 0 / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1873, allocations: 3.938 kB / 0.5879 GB, free: 0.6914 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 (4): * Single equations (assignments): 4 * 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 9.136e-05/0.1874, allocations: 109.8 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1874, allocations: 4 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.1874, allocations: 11.44 kB / 0.588 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1874, allocations: 4 kB / 0.588 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1874, allocations: 0 / 0.588 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1874, allocations: 0 / 0.588 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1877, allocations: 157.7 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1877, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.1877, allocations: 8 kB / 0.5882 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1877, allocations: 0 / 0.5882 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1877, allocations: 3.938 kB / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1878, allocations: 0 / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1878, allocations: 0 / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1879, allocations: 88.97 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.188, allocations: 85.03 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1881, allocations: 7.938 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.1881, allocations: 11.94 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.1881, allocations: 0 / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1881, allocations: 0 / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.67e-05/0.1882, allocations: 83.27 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1882, allocations: 0 / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.1884, allocations: 8.094 kB / 0.5885 GB, free: 20 kB / 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 (4): * Single equations (assignments): 4 * 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.0001686/0.1886, allocations: 95.25 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1887, allocations: 31.92 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1887, allocations: 0 / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.1887, allocations: 12 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.189, allocations: 7.984 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1893, allocations: 126.6 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1896, allocations: 0.6805 MB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.943e-05/0.1897, allocations: 8 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1897, allocations: 7.438 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.905e-06/0.1897, allocations: 0 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.002834/0.1926, allocations: 0.5151 MB / 0.5899 GB, free: 14.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)