Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7702/0.7702, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.443/1.443, 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.001011/0.001011, allocations: 106.7 kB / 484.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 51.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1321, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002358/0.1345, allocations: 1.459 MB / 0.6416 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.1354, allocations: 0.6172 MB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.851e-05/0.1354, allocations: 0 / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1354, allocations: 0 / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.1355, allocations: 11.92 kB / 0.6422 GB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1358, allocations: 87.7 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.1358, allocations: 15.94 kB / 0.6423 GB, free: 4.547 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.1359, allocations: 7.984 kB / 0.6423 GB, free: 4.539 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.1359, allocations: 11.94 kB / 0.6423 GB, free: 4.527 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.136, allocations: 7.984 kB / 0.6423 GB, free: 4.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.136, allocations: 0 / 0.6423 GB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1362, allocations: 151.7 kB / 0.6425 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1362, allocations: 7.938 kB / 0.6425 GB, free: 4.363 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1363, allocations: 4 kB / 0.6425 GB, free: 4.359 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1365, allocations: 116 kB / 0.6426 GB, free: 4.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1365, allocations: 4 kB / 0.6426 GB, free: 4.242 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1365, allocations: 0 / 0.6426 GB, free: 4.242 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1365, allocations: 0 / 0.6426 GB, free: 4.242 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004467/0.137, allocations: 351.4 kB / 0.6429 GB, free: 3.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.137, allocations: 12.03 kB / 0.6429 GB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.1374, allocations: 32.89 kB / 0.643 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1375, allocations: 164.3 kB / 0.6431 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1375, allocations: 4.312 kB / 0.6431 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1376, allocations: 4.375 kB / 0.6431 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1378, allocations: 70.14 kB / 0.6432 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1378, allocations: 192 / 0.6432 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1378, allocations: 3.938 kB / 0.6432 GB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1379, allocations: 0 / 0.6432 GB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.1381, allocations: 59.88 kB / 0.6433 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1385, allocations: 272.9 kB / 0.6435 GB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1387, allocations: 62.47 kB / 0.6436 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1388, allocations: 36.89 kB / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1389, allocations: 0 / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1389, allocations: 30.56 kB / 0.6437 GB, free: 2.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1389, allocations: 4 kB / 0.6437 GB, free: 2.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004829/0.1394, allocations: 113.5 kB / 0.6438 GB, free: 2.875 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.1394, allocations: 51.41 kB / 0.6438 GB, free: 2.812 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.1395, allocations: 106 kB / 0.6439 GB, free: 2.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1395, allocations: 25.7 kB / 0.6439 GB, free: 2.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.1395, allocations: 84.08 kB / 0.644 GB, free: 2.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1396, allocations: 11.91 kB / 0.644 GB, free: 2.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1396, allocations: 13.7 kB / 0.644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.1397, allocations: 314.8 kB / 0.6443 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1398, allocations: 23.97 kB / 0.6444 GB, free: 2.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.14, allocations: 31.97 kB / 0.6444 GB, free: 2.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1402, allocations: 60.73 kB / 0.6445 GB, free: 2.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1402, allocations: 4 kB / 0.6445 GB, free: 2.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000285/0.1405, allocations: 89.64 kB / 0.6445 GB, free: 2.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1405, allocations: 4 kB / 0.6446 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1405, allocations: 0 / 0.6446 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1406, allocations: 192 / 0.6446 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1407, allocations: 15.97 kB / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1407, allocations: 0 / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.1408, allocations: 19.92 kB / 0.6446 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1408, allocations: 3.984 kB / 0.6446 GB, free: 1.977 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 (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 prepare postOptimizeDAE: time 7.884e-05/0.1409, allocations: 111.1 kB / 0.6447 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1409, allocations: 11.94 kB / 0.6447 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.141, allocations: 3.125 kB / 0.6447 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.141, allocations: 0 / 0.6447 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.141, allocations: 0 / 0.6447 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.141, allocations: 4 kB / 0.6447 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1412, allocations: 169.6 kB / 0.6449 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1412, allocations: 0 / 0.6449 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1413, allocations: 19.92 kB / 0.6449 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1413, allocations: 0 / 0.6449 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1413, allocations: 0 / 0.6449 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1413, allocations: 3.938 kB / 0.6449 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1413, allocations: 0 / 0.6449 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.142, allocations: 0.763 MB / 0.6456 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1421, allocations: 81.02 kB / 0.6457 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1421, allocations: 4.031 kB / 0.6457 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1422, allocations: 7.984 kB / 0.6457 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1422, allocations: 4 kB / 0.6457 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1422, allocations: 7.938 kB / 0.6457 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.96e-05/0.1423, allocations: 87.27 kB / 0.6458 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1423, allocations: 0 / 0.6458 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.1426, allocations: 16 kB / 0.6458 GB, free: 0.5586 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 (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.000138/0.1428, allocations: 107.2 kB / 0.6459 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.143, allocations: 55.94 kB / 0.646 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1431, allocations: 0 / 0.646 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1432, allocations: 39.97 kB / 0.646 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1434, allocations: 4 kB / 0.646 GB, free: 356 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.1439, allocations: 235 kB / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.1441, allocations: 0.677 MB / 0.6469 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.1442, allocations: 16.05 kB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1442, allocations: 11.44 kB / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1442, allocations: 0 / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Templates: time 0.002414/0.1466, allocations: 0.7285 MB / 0.6477 GB, free: 14.63 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)