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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.897/0.897, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009272, allocations: 101.3 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.168e-05, allocations: 2.75 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 82.31 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6919/0.8662, allocations: 111.6 MB / 0.7494 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.8665, allocations: 84.06 kB / 0.7494 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004357/0.8709, allocations: 1.51 MB / 0.7509 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8709, allocations: 0 / 0.7509 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8709, allocations: 0 / 0.7509 GB, free: 27.66 MB / 0.5105 GB 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.0002805/0.8712, allocations: 328.7 kB / 0.7512 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8712, allocations: 7.688 kB / 0.7512 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.8715, allocations: 18.11 kB / 0.7513 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.8716, allocations: 165.8 kB / 0.7514 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8716, allocations: 3.938 kB / 0.7514 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.8716, allocations: 3.938 kB / 0.7514 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8718, allocations: 40.22 kB / 0.7515 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8718, allocations: 7.984 kB / 0.7515 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.8718, allocations: 0 / 0.7515 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8718, allocations: 0 / 0.7515 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.8719, allocations: 19.41 kB / 0.7515 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.872, allocations: 166.4 kB / 0.7516 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.8738, allocations: 264.9 kB / 0.7519 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.8738, allocations: 20.27 kB / 0.7519 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.8738, allocations: 3.938 kB / 0.7519 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.8739, allocations: 39.64 kB / 0.752 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.8739, allocations: 4 kB / 0.752 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.000154/0.874, allocations: 54.28 kB / 0.752 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.8741, allocations: 51.41 kB / 0.7521 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.8742, allocations: 88.84 kB / 0.7521 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8742, allocations: 25.7 kB / 0.7522 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.8742, allocations: 80.14 kB / 0.7522 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8743, allocations: 22.02 kB / 0.7523 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.8743, allocations: 0 / 0.7523 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8744, allocations: 318.7 kB / 0.7526 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.8744, allocations: 6.844 kB / 0.7526 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.8745, allocations: 7.5 kB / 0.7526 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.8745, allocations: 10.72 kB / 0.7526 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8745, allocations: 6.953 kB / 0.7526 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.191e-05/0.8746, allocations: 54.36 kB / 0.7527 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.8746, allocations: 4.938 kB / 0.7527 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8746, allocations: 0 / 0.7527 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8746, allocations: 3.844 kB / 0.7527 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.8747, allocations: 7.781 kB / 0.7527 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.8747, allocations: 4 kB / 0.7527 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.8747, allocations: 0 / 0.7527 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8747, allocations: 3.844 kB / 0.7527 GB, free: 26.11 MB / 0.5105 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 () * 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 7.557e-05/0.8748, allocations: 109 kB / 0.7528 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.8748, allocations: 3.953 kB / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.8749, allocations: 7 kB / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8749, allocations: 3.844 kB / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8749, allocations: 0 / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.8749, allocations: 0 / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.425e-05/0.875, allocations: 156.3 kB / 0.7529 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.875, allocations: 0 / 0.7529 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.8751, allocations: 18.2 kB / 0.753 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8751, allocations: 0 / 0.753 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.8751, allocations: 0 / 0.753 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8751, allocations: 3.938 kB / 0.753 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8751, allocations: 192 / 0.753 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.8752, allocations: 86.03 kB / 0.753 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.8753, allocations: 85.02 kB / 0.7531 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8753, allocations: 3.953 kB / 0.7531 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.8754, allocations: 0 / 0.7531 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.8754, allocations: 6.344 kB / 0.7531 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.8754, allocations: 0.625 kB / 0.7531 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.8754, allocations: 75.28 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8754, allocations: 3.875 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000174/0.8756, allocations: 7.844 kB / 0.7532 GB, free: 25.55 MB / 0.5105 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 () * 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.0001238/0.8758, allocations: 98.75 kB / 0.7533 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.8758, allocations: 29.28 kB / 0.7533 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8759, allocations: 0 / 0.7533 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.8759, allocations: 14.91 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.8761, allocations: 6.984 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.8763, allocations: 70.28 kB / 0.7534 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8766, allocations: 0.68 MB / 0.7541 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.219e-05/0.8766, allocations: 3.75 kB / 0.7541 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.8767, allocations: 7.438 kB / 0.7541 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.8767, allocations: 3.938 kB / 0.7541 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.002364/0.8791, allocations: 495.7 kB / 0.7546 GB, free: 24.62 MB / 0.5105 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)