Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007796/0.007796, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8185/0.8185, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 12.8 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.481, allocations: 81.57 MB / 0.5837 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001352/0.4824, allocations: 1.011 MB / 0.5847 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.171/0.6534, allocations: 143.8 MB / 0.7251 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.6535, allocations: 0 / 0.7251 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.6535, allocations: 0 / 0.7251 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.6536, allocations: 3.938 kB / 0.7251 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.6541, allocations: 99.61 kB / 0.7252 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.6541, allocations: 23.8 kB / 0.7252 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.6542, allocations: 4 kB / 0.7252 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.6542, allocations: 8 kB / 0.7252 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.856e-05/0.6543, allocations: 11.92 kB / 0.7252 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.6543, allocations: 0 / 0.7252 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.6547, allocations: 179.6 kB / 0.7254 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.6548, allocations: 3.984 kB / 0.7254 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.6548, allocations: 29.7 kB / 0.7254 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.6551, allocations: 117.9 kB / 0.7256 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6551, allocations: 0 / 0.7256 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6551, allocations: 0 / 0.7256 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6551, allocations: 0 / 0.7256 GB, free: 14.82 MB / 0.5606 GB 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.0003604/0.6554, allocations: 351.4 kB / 0.7259 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6555, allocations: 8.031 kB / 0.7259 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005587/0.6561, allocations: 36.89 kB / 0.7259 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6562, allocations: 168.3 kB / 0.7261 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6562, allocations: 3.938 kB / 0.7261 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.6563, allocations: 3.938 kB / 0.7261 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.6564, allocations: 49.66 kB / 0.7261 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6564, allocations: 0 / 0.7261 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6565, allocations: 0 / 0.7261 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.6565, allocations: 7.984 kB / 0.7262 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.6566, allocations: 19.97 kB / 0.7262 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.6569, allocations: 252.9 kB / 0.7264 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.657, allocations: 26.52 kB / 0.7264 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.6571, allocations: 8.922 kB / 0.7264 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.6571, allocations: 0 / 0.7264 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.6571, allocations: 30.56 kB / 0.7265 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6571, allocations: 0 / 0.7265 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.6572, allocations: 53.59 kB / 0.7265 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.6573, allocations: 55.34 kB / 0.7266 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.6574, allocations: 113.8 kB / 0.7267 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6575, allocations: 25.7 kB / 0.7267 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.6575, allocations: 84.12 kB / 0.7268 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.6575, allocations: 7.844 kB / 0.7268 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.6575, allocations: 9.719 kB / 0.7268 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6577, allocations: 326.9 kB / 0.7271 GB, free: 13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.6577, allocations: 7.984 kB / 0.7271 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.6578, allocations: 11.98 kB / 0.7271 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.057e-05/0.6579, allocations: 16.86 kB / 0.7272 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6579, allocations: 0 / 0.7272 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001861/0.6581, allocations: 65.66 kB / 0.7272 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6581, allocations: 7.938 kB / 0.7272 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6581, allocations: 0 / 0.7272 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6581, allocations: 0 / 0.7272 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6582, allocations: 11.98 kB / 0.7272 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6583, allocations: 7.922 kB / 0.7272 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.6584, allocations: 7.938 kB / 0.7273 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.6584, allocations: 3.984 kB / 0.7273 GB, free: 12.85 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.002e-05/0.6585, allocations: 119.4 kB / 0.7274 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.6585, allocations: 3.906 kB / 0.7274 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.6586, allocations: 3.125 kB / 0.7274 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6586, allocations: 4 kB / 0.7274 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6586, allocations: 0 / 0.7274 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6586, allocations: 3.938 kB / 0.7274 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.6588, allocations: 153.7 kB / 0.7275 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6588, allocations: 0 / 0.7275 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.6588, allocations: 7.984 kB / 0.7275 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.6588, allocations: 4 kB / 0.7275 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.6588, allocations: 7.938 kB / 0.7276 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6588, allocations: 0 / 0.7276 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6588, allocations: 0 / 0.7276 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.659, allocations: 135.4 kB / 0.7277 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.659, allocations: 85.09 kB / 0.7278 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.659, allocations: 336 / 0.7278 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.6591, allocations: 0 / 0.7278 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.6592, allocations: 12.02 kB / 0.7278 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.6592, allocations: 3.938 kB / 0.7278 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.119e-05/0.6593, allocations: 95.25 kB / 0.7279 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6593, allocations: 0 / 0.7279 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002663/0.6596, allocations: 16 kB / 0.7279 GB, free: 12.12 MB / 0.5606 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.0001705/0.6597, allocations: 107.2 kB / 0.728 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.6599, allocations: 19.98 kB / 0.728 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6599, allocations: 0 / 0.728 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.6599, allocations: 7.938 kB / 0.728 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6602, allocations: 15.98 kB / 0.728 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.6605, allocations: 137 kB / 0.7282 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.6607, allocations: 0.6771 MB / 0.7288 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.6608, allocations: 4 kB / 0.7288 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.6608, allocations: 15.42 kB / 0.7288 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.6608, allocations: 0 / 0.7288 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.002946/0.6638, allocations: 0.7032 MB / 0.7295 GB, free: 10.39 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)