Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001371/0.001371, allocations: 106.3 kB / 16.4 MB, free: 6.449 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.001167/0.001167, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 68.41 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1364, allocations: 76.19 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002006/0.1385, allocations: 1.245 MB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000558/0.1391, allocations: 291.4 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.1391, allocations: 0 / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.1391, allocations: 0 / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.1392, allocations: 11.92 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1395, allocations: 47.75 kB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.1395, allocations: 19.88 kB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1396, allocations: 7.969 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.1396, allocations: 11.94 kB / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.1397, allocations: 0 / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1397, allocations: 4 kB / 0.6337 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1398, allocations: 51.95 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.1398, allocations: 3.984 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1398, allocations: 11.94 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.14, allocations: 51.83 kB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.14, allocations: 4 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.14, allocations: 0 / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.14, allocations: 0 / 0.6338 GB, free: 2.637 MB / 478.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.0003755/0.1404, allocations: 339.5 kB / 0.6341 GB, free: 2.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1404, allocations: 12.03 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.1407, allocations: 16.91 kB / 0.6341 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1408, allocations: 164.4 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1408, allocations: 4.375 kB / 0.6343 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1409, allocations: 4.375 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.141, allocations: 46.23 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.141, allocations: 192 / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1411, allocations: 3.938 kB / 0.6344 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1411, allocations: 0 / 0.6344 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.1411, allocations: 23.92 kB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1413, allocations: 157.6 kB / 0.6345 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.1433, allocations: 266.4 kB / 0.6348 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.1434, allocations: 16.86 kB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1434, allocations: 4 kB / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1434, allocations: 34.56 kB / 0.6348 GB, free: 1.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1435, allocations: 0 / 0.6348 GB, free: 1.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001896/0.1436, allocations: 69.56 kB / 0.6349 GB, free: 1.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1437, allocations: 55.39 kB / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.1438, allocations: 89.86 kB / 0.635 GB, free: 1.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1438, allocations: 33.7 kB / 0.6351 GB, free: 1.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.1439, allocations: 80.14 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1439, allocations: 7.938 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1439, allocations: 21.72 kB / 0.6352 GB, free: 1.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1441, allocations: 314.8 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.1441, allocations: 8 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.1441, allocations: 4 kB / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.1442, allocations: 24.86 kB / 0.6355 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1442, allocations: 0 / 0.6355 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.129e-05/0.1443, allocations: 57.62 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1443, allocations: 7.938 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1443, allocations: 11.94 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1443, allocations: 0 / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.1444, allocations: 11.98 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1444, allocations: 3.938 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.1445, allocations: 0 / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1445, allocations: 4 kB / 0.6356 GB, free: 0.5508 MB / 478.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 7.912e-05/0.1445, allocations: 109.8 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.1446, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.1446, allocations: 15.77 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1446, allocations: 4 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1446, allocations: 0 / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1446, allocations: 3.984 kB / 0.6357 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1448, allocations: 157.7 kB / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1448, allocations: 0 / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1448, allocations: 15.92 kB / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1448, allocations: 0 / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1448, allocations: 11.94 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1448, allocations: 0 / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1449, allocations: 0 / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.32e-05/0.1449, allocations: 77.12 kB / 0.636 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.145, allocations: 85.02 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1451, allocations: 3.938 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.1451, allocations: 3.984 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1451, allocations: 8 kB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1452, allocations: 0 / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.856e-05/0.1452, allocations: 75.28 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1452, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.1454, allocations: 12.09 kB / 0.6362 GB, free: 15.88 MB / 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.0001103/0.1455, allocations: 99.19 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.1456, allocations: 23.98 kB / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1456, allocations: 0 / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.1456, allocations: 16 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1458, allocations: 7.984 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.1461, allocations: 130.7 kB / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1464, allocations: 0.6729 MB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.086e-05/0.1464, allocations: 7.984 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1465, allocations: 11.38 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1465, allocations: 7.938 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Templates: time 0.00248/0.1489, allocations: 0.5029 MB / 0.6376 GB, free: 14.34 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)