Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001205/0.001205, 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/package.mo): time 0.8443/0.8443, allocations: 132.2 MB / 148.9 MB, free: 12.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.413/1.413, allocations: 222.9 MB / 403.3 MB, free: 7.074 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.0009614/0.0009616, allocations: 105.3 kB / 484.3 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 52.11 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1464, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002252/0.1487, allocations: 1.321 MB / 0.6415 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005444/0.1493, allocations: 307 kB / 0.6418 GB, free: 5.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.1493, allocations: 0 / 0.6418 GB, free: 5.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1494, allocations: 4 kB / 0.6418 GB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.1494, allocations: 7.922 kB / 0.6418 GB, free: 5.148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1496, allocations: 43.83 kB / 0.6418 GB, free: 5.105 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.1497, allocations: 15.92 kB / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1497, allocations: 0 / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.1498, allocations: 7.984 kB / 0.6418 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.1498, allocations: 15.92 kB / 0.6418 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1498, allocations: 0 / 0.6418 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.15, allocations: 51.95 kB / 0.6419 GB, free: 5.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.15, allocations: 8 kB / 0.6419 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.15, allocations: 7.938 kB / 0.6419 GB, free: 5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1502, allocations: 52.17 kB / 0.642 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1502, allocations: 0 / 0.642 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1502, allocations: 0 / 0.642 GB, free: 4.949 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1502, allocations: 0 / 0.642 GB, free: 4.949 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.0003751/0.1506, allocations: 339.5 kB / 0.6423 GB, free: 4.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1506, allocations: 8.031 kB / 0.6423 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1508, allocations: 24.86 kB / 0.6423 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.1509, allocations: 168.3 kB / 0.6425 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.151, allocations: 384 / 0.6425 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.151, allocations: 8.312 kB / 0.6425 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.1511, allocations: 38.25 kB / 0.6425 GB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1511, allocations: 4.172 kB / 0.6425 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1511, allocations: 7.938 kB / 0.6425 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1511, allocations: 0 / 0.6425 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.1512, allocations: 12 kB / 0.6425 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.1513, allocations: 161.7 kB / 0.6427 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1531, allocations: 266.4 kB / 0.643 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.1532, allocations: 28.84 kB / 0.643 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1532, allocations: 3.984 kB / 0.643 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1532, allocations: 30.56 kB / 0.643 GB, free: 3.707 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1532, allocations: 0 / 0.643 GB, free: 3.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001582/0.1534, allocations: 65.62 kB / 0.6431 GB, free: 3.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1534, allocations: 51.41 kB / 0.6431 GB, free: 3.574 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.1535, allocations: 93.86 kB / 0.6432 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1535, allocations: 33.77 kB / 0.6432 GB, free: 3.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.1535, allocations: 80.14 kB / 0.6433 GB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1536, allocations: 15.8 kB / 0.6433 GB, free: 3.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1536, allocations: 13.72 kB / 0.6433 GB, free: 3.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.1537, allocations: 314.8 kB / 0.6437 GB, free: 3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1537, allocations: 8 kB / 0.6437 GB, free: 2.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.1538, allocations: 11.98 kB / 0.6437 GB, free: 2.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.1538, allocations: 28.86 kB / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1538, allocations: 0 / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.206e-05/0.1539, allocations: 57.69 kB / 0.6438 GB, free: 2.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1539, allocations: 4 kB / 0.6438 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1539, allocations: 3.938 kB / 0.6438 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1539, allocations: 0 / 0.6438 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.154, allocations: 7.938 kB / 0.6438 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.154, allocations: 4 kB / 0.6438 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.1541, allocations: 0 / 0.6438 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1541, allocations: 3.938 kB / 0.6438 GB, free: 2.863 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.517e-05/0.1541, allocations: 111.2 kB / 0.6439 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1541, allocations: 11.91 kB / 0.6439 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1542, allocations: 15.42 kB / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1542, allocations: 0 / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1542, allocations: 0 / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1542, allocations: 0 / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.618e-05/0.1543, allocations: 157.7 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1543, allocations: 0 / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.1544, allocations: 4 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1544, allocations: 0 / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1544, allocations: 7.875 kB / 0.6441 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1544, allocations: 4 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1544, allocations: 4 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.1547, allocations: 0.6279 MB / 0.6447 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1548, allocations: 85.03 kB / 0.6448 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1548, allocations: 4 kB / 0.6448 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.1549, allocations: 4 kB / 0.6448 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.1549, allocations: 4 kB / 0.6448 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1549, allocations: 8.312 kB / 0.6448 GB, free: 1.684 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.1549, allocations: 75.28 kB / 0.6449 GB, free: 1.609 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 0.6449 GB, free: 1.609 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.1552, allocations: 4 kB / 0.6449 GB, free: 1.605 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 (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.0001061/0.1553, allocations: 99.23 kB / 0.645 GB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.1554, allocations: 24 kB / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1554, allocations: 4.094 kB / 0.645 GB, free: 1.473 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.1554, allocations: 16.08 kB / 0.645 GB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1557, allocations: 13.69 kB / 0.645 GB, free: 1.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.1561, allocations: 251.2 kB / 0.6453 GB, free: 1.156 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1563, allocations: 0.677 MB / 0.6459 GB, free: 464 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.1564, allocations: 0 / 0.6459 GB, free: 464 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1564, allocations: 11.44 kB / 0.6459 GB, free: 452 kB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1564, allocations: 0 / 0.6459 GB, free: 452 kB / 442.7 MB Notification: Performance of Templates: time 0.002029/0.1584, allocations: 0.4994 MB / 0.6464 GB, free: 15.95 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)