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.001625/0.001625, allocations: 182.9 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-master/package.mo): time 0.8705/0.8705, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.566/1.566, allocations: 222.9 MB / 404.7 MB, free: 6.117 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.001039/0.001039, allocations: 95.38 kB / 485.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.147, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002313/0.1494, allocations: 1.321 MB / 0.6434 GB, free: 4.102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.15, allocations: 308.4 kB / 0.6437 GB, free: 3.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.15, allocations: 0 / 0.6437 GB, free: 3.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.15, allocations: 0 / 0.6437 GB, free: 3.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.1501, allocations: 11.92 kB / 0.6437 GB, free: 3.789 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1503, allocations: 35.83 kB / 0.6438 GB, free: 3.754 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.056e-05/0.1504, allocations: 19.94 kB / 0.6438 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1504, allocations: 3.938 kB / 0.6438 GB, free: 3.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.1505, allocations: 7.984 kB / 0.6438 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.1505, allocations: 11.92 kB / 0.6438 GB, free: 3.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1505, allocations: 4 kB / 0.6438 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1506, allocations: 51.95 kB / 0.6439 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1507, allocations: 0 / 0.6439 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1507, allocations: 15.92 kB / 0.6439 GB, free: 3.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1508, allocations: 52.11 kB / 0.6439 GB, free: 3.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1508, allocations: 4 kB / 0.6439 GB, free: 3.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1508, allocations: 0 / 0.6439 GB, free: 3.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1508, allocations: 0 / 0.6439 GB, free: 3.586 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.0003574/0.1512, allocations: 335.5 kB / 0.6443 GB, free: 3.207 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1513, allocations: 12.03 kB / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.1515, allocations: 20.91 kB / 0.6443 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1516, allocations: 164.3 kB / 0.6444 GB, free: 2.977 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1516, allocations: 4.312 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1516, allocations: 384 / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1517, allocations: 46.25 kB / 0.6445 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1517, allocations: 192 / 0.6445 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1517, allocations: 3.938 kB / 0.6445 GB, free: 2.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1518, allocations: 4 kB / 0.6445 GB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.1518, allocations: 23.92 kB / 0.6445 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.152, allocations: 153.7 kB / 0.6447 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1538, allocations: 270.4 kB / 0.6449 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.1538, allocations: 16.86 kB / 0.6449 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1539, allocations: 0 / 0.6449 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.1539, allocations: 30.56 kB / 0.645 GB, free: 2.359 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1539, allocations: 0 / 0.645 GB, free: 2.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001528/0.154, allocations: 69.56 kB / 0.645 GB, free: 2.285 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1541, allocations: 51.41 kB / 0.6451 GB, free: 2.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.1541, allocations: 101.8 kB / 0.6452 GB, free: 2.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1542, allocations: 25.7 kB / 0.6452 GB, free: 2.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1542, allocations: 84.14 kB / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1542, allocations: 7.812 kB / 0.6453 GB, free: 1.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.1543, allocations: 17.72 kB / 0.6453 GB, free: 1.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.1544, allocations: 310.8 kB / 0.6456 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.1544, allocations: 15.98 kB / 0.6456 GB, free: 1.637 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.1544, allocations: 4 kB / 0.6456 GB, free: 1.633 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.1545, allocations: 33.25 kB / 0.6457 GB, free: 1.598 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1545, allocations: 0 / 0.6457 GB, free: 1.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.135e-05/0.1545, allocations: 53.62 kB / 0.6457 GB, free: 1.539 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1546, allocations: 8 kB / 0.6457 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1546, allocations: 7.875 kB / 0.6457 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1546, allocations: 0 / 0.6457 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.1546, allocations: 7.984 kB / 0.6457 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1547, allocations: 0 / 0.6457 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.1547, allocations: 8 kB / 0.6457 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.1547, allocations: 0 / 0.6457 GB, free: 1.508 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.648e-05/0.1548, allocations: 109.8 kB / 0.6459 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1548, allocations: 11.84 kB / 0.6459 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.1548, allocations: 11.44 kB / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1548, allocations: 0 / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1548, allocations: 0 / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1548, allocations: 0 / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.1549, allocations: 153.7 kB / 0.646 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.155, allocations: 4 kB / 0.646 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.155, allocations: 7.938 kB / 0.646 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.155, allocations: 4 kB / 0.646 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.155, allocations: 7.922 kB / 0.646 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.155, allocations: 4 kB / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.155, allocations: 0 / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1554, allocations: 0.6357 MB / 0.6467 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1554, allocations: 81.05 kB / 0.6467 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.1555, allocations: 0 / 0.6467 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.1555, allocations: 8 kB / 0.6468 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1555, allocations: 3.984 kB / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1555, allocations: 0 / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.1556, allocations: 79.28 kB / 0.6468 GB, free: 264 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1556, allocations: 0 / 0.6468 GB, free: 264 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.1559, allocations: 8 kB / 0.6468 GB, free: 256 kB / 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 (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 9.065e-05/0.156, allocations: 95.25 kB / 0.6469 GB, free: 152 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.156, allocations: 28.08 kB / 0.647 GB, free: 124 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.156, allocations: 0 / 0.647 GB, free: 124 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.947e-05/0.1561, allocations: 15.94 kB / 0.647 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.1563, allocations: 15.92 kB / 0.647 GB, free: 92 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.1567, allocations: 239.3 kB / 0.6472 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1569, allocations: 0.677 MB / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.157, allocations: 0 / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.157, allocations: 11.44 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.157, allocations: 4 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of Templates: time 0.002009/0.159, allocations: 0.5042 MB / 0.6484 GB, free: 14.59 MB / 458.7 MB 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)