Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002503, allocations: 357.6 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.484/1.484, allocations: 165.8 MB / 183.1 MB, free: 5.473 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.76/3.76, allocations: 410.8 MB / 0.6001 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 190.5 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007128/0.0007131, allocations: 19.98 kB / 0.7429 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4227, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5872, allocations: 98.55 MB / 0.905 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5876, allocations: 79.95 kB / 0.9051 GB, free: 10.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006431/0.594, allocations: 1.478 MB / 0.9065 GB, free: 8.527 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5941, allocations: 0 / 0.9065 GB, free: 8.527 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.5941, allocations: 0 / 0.9065 GB, free: 8.527 MB / 458.7 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.0003712/0.5945, allocations: 335.4 kB / 0.9068 GB, free: 8.152 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5945, allocations: 8.031 kB / 0.9068 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.5948, allocations: 23.97 kB / 0.9069 GB, free: 8.121 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.5949, allocations: 167 kB / 0.907 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.595, allocations: 0 / 0.907 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.595, allocations: 11.94 kB / 0.907 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5951, allocations: 40.69 kB / 0.9071 GB, free: 7.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5952, allocations: 4 kB / 0.9071 GB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.5952, allocations: 7.953 kB / 0.9071 GB, free: 7.852 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5952, allocations: 3.938 kB / 0.9071 GB, free: 7.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.5953, allocations: 19.98 kB / 0.9071 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.5955, allocations: 153.7 kB / 0.9072 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.5987, allocations: 278.3 kB / 0.9075 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.5988, allocations: 16.86 kB / 0.9075 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5989, allocations: 0 / 0.9075 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.5989, allocations: 30.56 kB / 0.9076 GB, free: 7.289 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5989, allocations: 0 / 0.9076 GB, free: 7.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002551/0.5992, allocations: 69.62 kB / 0.9076 GB, free: 7.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.5992, allocations: 51.41 kB / 0.9077 GB, free: 7.152 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.5994, allocations: 101.8 kB / 0.9078 GB, free: 7.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.5994, allocations: 25.7 kB / 0.9078 GB, free: 7.012 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.5994, allocations: 80.14 kB / 0.9079 GB, free: 6.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.5995, allocations: 19.69 kB / 0.9079 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5995, allocations: 0 / 0.9079 GB, free: 6.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5997, allocations: 314.8 kB / 0.9082 GB, free: 6.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.5998, allocations: 11.98 kB / 0.9082 GB, free: 6.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.5998, allocations: 8 kB / 0.9082 GB, free: 6.574 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.5999, allocations: 12.12 kB / 0.9082 GB, free: 6.562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5999, allocations: 0 / 0.9082 GB, free: 6.562 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.6, allocations: 53.69 kB / 0.9083 GB, free: 6.504 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6, allocations: 6.656 kB / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6001, allocations: 0 / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6001, allocations: 4 kB / 0.9083 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.6002, allocations: 4 kB / 0.9083 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6002, allocations: 3.953 kB / 0.9083 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.6003, allocations: 3.984 kB / 0.9083 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6003, allocations: 4 kB / 0.9083 GB, free: 6.48 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.6004, allocations: 114.9 kB / 0.9084 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.6004, allocations: 336 / 0.9084 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.6005, allocations: 7.5 kB / 0.9084 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6005, allocations: 4 kB / 0.9084 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6005, allocations: 3.984 kB / 0.9084 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6005, allocations: 3.953 kB / 0.9084 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.6007, allocations: 161.6 kB / 0.9086 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6007, allocations: 0 / 0.9086 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.6008, allocations: 12 kB / 0.9086 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.6008, allocations: 0 / 0.9086 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.6008, allocations: 4 kB / 0.9086 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6008, allocations: 0 / 0.9086 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6009, allocations: 3.984 kB / 0.9086 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.601, allocations: 84.92 kB / 0.9087 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.6011, allocations: 81.11 kB / 0.9088 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.6012, allocations: 0 / 0.9088 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.6012, allocations: 4 kB / 0.9088 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.6013, allocations: 7.984 kB / 0.9088 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6013, allocations: 4 kB / 0.9088 GB, free: 5.898 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.6013, allocations: 75.28 kB / 0.9088 GB, free: 5.824 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6014, allocations: 0 / 0.9088 GB, free: 5.824 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.6016, allocations: 8 kB / 0.9088 GB, free: 5.816 MB / 458.7 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 (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.0001355/0.6017, allocations: 99.2 kB / 0.9089 GB, free: 5.711 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.6019, allocations: 23.98 kB / 0.909 GB, free: 5.688 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6019, allocations: 4.031 kB / 0.909 GB, free: 5.684 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.602, allocations: 19.94 kB / 0.909 GB, free: 5.664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6023, allocations: 11.98 kB / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.6027, allocations: 132.5 kB / 0.9091 GB, free: 5.496 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.6029, allocations: 0.677 MB / 0.9098 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.603, allocations: 11.94 kB / 0.9098 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.6031, allocations: 7.438 kB / 0.9098 GB, free: 4.773 MB / 458.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6031, allocations: 0 / 0.9098 GB, free: 4.773 MB / 458.7 MB Notification: Performance of Templates: time 0.003086/0.6062, allocations: 479 kB / 0.9103 GB, free: 4.309 MB / 458.7 MB