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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 109.2 kB / 16.41 MB, free: 6.496 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.001314/0.001315, allocations: 181.6 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.92 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1478, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003052/0.1509, allocations: 1.253 MB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.1515, allocations: 305.9 kB / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.1516, allocations: 0 / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.1517, allocations: 3.938 kB / 0.6618 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.1517, allocations: 4 kB / 0.6619 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1521, allocations: 43.75 kB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.314e-05/0.1522, allocations: 23.86 kB / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.1522, allocations: 4 kB / 0.6619 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.1523, allocations: 7.938 kB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.1523, allocations: 7.984 kB / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1524, allocations: 0 / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1525, allocations: 55.95 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.1526, allocations: 4 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.1526, allocations: 15.92 kB / 0.662 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1528, allocations: 43.89 kB / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1528, allocations: 7.938 kB / 0.6621 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1528, allocations: 0 / 0.6621 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1528, allocations: 0 / 0.6621 GB, free: 8.512 MB / 0.4981 GB 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.0004416/0.1532, allocations: 335.5 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1533, allocations: 8.031 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.1536, allocations: 20.92 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1537, allocations: 164.4 kB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1537, allocations: 384 / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1537, allocations: 384 / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1539, allocations: 50.19 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1539, allocations: 4.188 kB / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1539, allocations: 3.938 kB / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1539, allocations: 4 kB / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.154, allocations: 12 kB / 0.6626 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1542, allocations: 157.7 kB / 0.6628 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.1561, allocations: 266.5 kB / 0.663 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1562, allocations: 24.84 kB / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1562, allocations: 7.875 kB / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1562, allocations: 30.56 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1562, allocations: 0 / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001865/0.1564, allocations: 69.53 kB / 0.6632 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1565, allocations: 51.41 kB / 0.6632 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.1565, allocations: 93.86 kB / 0.6633 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1566, allocations: 29.83 kB / 0.6633 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1566, allocations: 88.12 kB / 0.6634 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1566, allocations: 7.891 kB / 0.6634 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1567, allocations: 17.72 kB / 0.6634 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1568, allocations: 310.8 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.1568, allocations: 12 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.1569, allocations: 11.92 kB / 0.6638 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.1569, allocations: 29.12 kB / 0.6638 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1569, allocations: 3.938 kB / 0.6638 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.637e-05/0.157, allocations: 57.59 kB / 0.6638 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1571, allocations: 8 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1571, allocations: 3.938 kB / 0.6639 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1571, allocations: 0 / 0.6639 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.1572, allocations: 8 kB / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1572, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.1572, allocations: 4 kB / 0.6639 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1572, allocations: 3.938 kB / 0.6639 GB, free: 6.426 MB / 0.4981 GB 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 8.467e-05/0.1573, allocations: 114.6 kB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1573, allocations: 8 kB / 0.664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1574, allocations: 11.44 kB / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1574, allocations: 0 / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1574, allocations: 0 / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1574, allocations: 0 / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1575, allocations: 153.7 kB / 0.6641 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1576, allocations: 4 kB / 0.6642 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.1576, allocations: 4 kB / 0.6642 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1576, allocations: 0 / 0.6642 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1576, allocations: 3.938 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1576, allocations: 0 / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1576, allocations: 4 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.1578, allocations: 85.06 kB / 0.6642 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1579, allocations: 85 kB / 0.6643 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1579, allocations: 3.938 kB / 0.6643 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.1579, allocations: 8 kB / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.158, allocations: 4 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.158, allocations: 0 / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.158, allocations: 87.2 kB / 0.6644 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.158, allocations: 4 kB / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001992/0.1582, allocations: 4 kB / 0.6644 GB, free: 5.75 MB / 0.4981 GB 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.0001224/0.1584, allocations: 95.25 kB / 0.6645 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1585, allocations: 27.98 kB / 0.6645 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1585, allocations: 0 / 0.6645 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.1585, allocations: 19.88 kB / 0.6646 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1588, allocations: 17.78 kB / 0.6646 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1593, allocations: 148.3 kB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1596, allocations: 0.6788 MB / 0.6654 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1596, allocations: 7.438 kB / 0.6654 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1596, allocations: 0 / 0.6654 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.00194/0.1616, allocations: 0.5334 MB / 0.6659 GB, free: 4.164 MB / 0.4981 GB 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)