Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/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/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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 183 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 148.9 MB, free: 12.18 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.45/1.45, allocations: 222.9 MB / 403.4 MB, free: 7.082 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.001177/0.001177, allocations: 113.8 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 55.91 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1293, allocations: 80.19 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002442/0.1318, allocations: 1.344 MB / 0.6415 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1332, allocations: 0.9054 MB / 0.6424 GB, free: 4.516 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.1332, allocations: 0 / 0.6424 GB, free: 4.516 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.1332, allocations: 0 / 0.6424 GB, free: 4.516 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.1333, allocations: 7.938 kB / 0.6424 GB, free: 4.508 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.1338, allocations: 149.6 kB / 0.6425 GB, free: 4.363 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.1339, allocations: 19.94 kB / 0.6425 GB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1339, allocations: 0 / 0.6425 GB, free: 4.344 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.134, allocations: 8 kB / 0.6425 GB, free: 4.336 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.134, allocations: 11.92 kB / 0.6426 GB, free: 4.324 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.134, allocations: 0 / 0.6426 GB, free: 4.324 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.1343, allocations: 199.7 kB / 0.6427 GB, free: 4.129 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1344, allocations: 3.984 kB / 0.6428 GB, free: 4.125 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1344, allocations: 11.88 kB / 0.6428 GB, free: 4.113 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1347, allocations: 148.1 kB / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1347, allocations: 0 / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1347, allocations: 0 / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1347, allocations: 0 / 0.6429 GB, free: 3.969 MB / 442.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.0003753/0.1351, allocations: 365.3 kB / 0.6433 GB, free: 3.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1351, allocations: 11.97 kB / 0.6433 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1353, allocations: 4.938 kB / 0.6433 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1354, allocations: 168.4 kB / 0.6434 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1354, allocations: 384 / 0.6434 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1354, allocations: 8.125 kB / 0.6434 GB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1355, allocations: 41.69 kB / 0.6435 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1355, allocations: 7.922 kB / 0.6435 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1356, allocations: 4 kB / 0.6435 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1356, allocations: 0 / 0.6435 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.1356, allocations: 19.98 kB / 0.6435 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1358, allocations: 153.7 kB / 0.6437 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.1367, allocations: 130.5 kB / 0.6438 GB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.1367, allocations: 24.8 kB / 0.6438 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.1368, allocations: 89.08 kB / 0.6439 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1368, allocations: 34.5 kB / 0.6439 GB, free: 2.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1369, allocations: 0 / 0.6439 GB, free: 2.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.137, allocations: 57.69 kB / 0.644 GB, free: 2.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1371, allocations: 55.41 kB / 0.644 GB, free: 2.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.1371, allocations: 101.8 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1371, allocations: 25.7 kB / 0.6441 GB, free: 2.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.1372, allocations: 80.14 kB / 0.6442 GB, free: 2.398 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1372, allocations: 15.75 kB / 0.6442 GB, free: 2.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1373, allocations: 17.72 kB / 0.6443 GB, free: 2.359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.1374, allocations: 310.8 kB / 0.6446 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.1374, allocations: 11.98 kB / 0.6446 GB, free: 2.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.1374, allocations: 4 kB / 0.6446 GB, free: 2.031 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.1375, allocations: 32.92 kB / 0.6446 GB, free: 1.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1375, allocations: 3.984 kB / 0.6446 GB, free: 1.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.744e-05/0.1376, allocations: 57.62 kB / 0.6447 GB, free: 1.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1376, allocations: 4 kB / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1376, allocations: 0 / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1376, allocations: 0 / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.1377, allocations: 11.94 kB / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1377, allocations: 0 / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.1377, allocations: 7.906 kB / 0.6447 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1377, allocations: 0 / 0.6447 GB, free: 1.906 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.1378, allocations: 123 kB / 0.6448 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.1378, allocations: 3.938 kB / 0.6448 GB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1381, allocations: 81.16 kB / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1381, allocations: 0 / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1381, allocations: 4 kB / 0.6449 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1381, allocations: 400 / 0.6449 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.96e-05/0.1382, allocations: 165.6 kB / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1382, allocations: 0 / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.1383, allocations: 4 kB / 0.645 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1383, allocations: 4 kB / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1383, allocations: 3.984 kB / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1383, allocations: 0 / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1383, allocations: 0 / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1386, allocations: 0.6435 MB / 0.6457 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.1387, allocations: 92.94 kB / 0.6458 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1387, allocations: 3.938 kB / 0.6458 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.1388, allocations: 4 kB / 0.6458 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1388, allocations: 0 / 0.6458 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1388, allocations: 7.984 kB / 0.6458 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.1388, allocations: 83.22 kB / 0.6459 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1388, allocations: 0 / 0.6459 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000333/0.1392, allocations: 48 kB / 0.6459 GB, free: 0.5 MB / 442.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 (5): * Single equations (assignments): 5 * 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.0004044/0.1396, allocations: 162.3 kB / 0.6461 GB, free: 352 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1397, allocations: 27.98 kB / 0.6461 GB, free: 324 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1397, allocations: 0 / 0.6461 GB, free: 324 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.1397, allocations: 16.03 kB / 0.6461 GB, free: 308 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.1399, allocations: 19.92 kB / 0.6461 GB, free: 288 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1404, allocations: 231.3 kB / 0.6463 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1407, allocations: 0.6731 MB / 0.647 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.1407, allocations: 15.98 kB / 0.647 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.1408, allocations: 7.438 kB / 0.647 GB, free: 15.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1408, allocations: 0 / 0.647 GB, free: 15.29 MB / 458.7 MB Notification: Performance of Templates: time 0.003515/0.1443, allocations: 1.053 MB / 0.6481 GB, free: 14.24 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)