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/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005321/0.00532, allocations: 102 kB / 15.73 MB, free: 5.551 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.001257/0.001257, allocations: 195.2 kB / 16.67 MB, free: 5.477 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8759/0.8759, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.97 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002658/0.1718, allocations: 1.399 MB / 0.6605 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1729, allocations: 0.6006 MB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.1729, allocations: 0 / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.173, allocations: 7.938 kB / 0.6611 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.173, allocations: 3.938 kB / 0.6611 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1735, allocations: 99.55 kB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.1735, allocations: 31.86 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.1736, allocations: 8 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1737, allocations: 7.984 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.1737, allocations: 7.938 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1738, allocations: 8 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.174, allocations: 143.8 kB / 0.6614 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1741, allocations: 7.984 kB / 0.6614 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.1741, allocations: 11.94 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1743, allocations: 103.9 kB / 0.6615 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1743, allocations: 0 / 0.6615 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1743, allocations: 0 / 0.6615 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1743, allocations: 0 / 0.6615 GB, free: 8.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005074/0.1749, allocations: 363.2 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1749, allocations: 12.03 kB / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.175, allocations: 30.75 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.1754, allocations: 28.91 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1755, allocations: 176.3 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1755, allocations: 384 / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1756, allocations: 384 / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1758, allocations: 66.2 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1758, allocations: 7.875 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1759, allocations: 0 / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1759, allocations: 3.984 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.1762, allocations: 51.94 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1767, allocations: 280.8 kB / 0.6625 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1769, allocations: 58.48 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1771, allocations: 28.89 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1771, allocations: 4 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1771, allocations: 46.48 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1771, allocations: 0 / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000527/0.1777, allocations: 109.7 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1777, allocations: 51.41 kB / 0.6628 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.1778, allocations: 105.8 kB / 0.6629 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1778, allocations: 25.7 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.1779, allocations: 84.14 kB / 0.663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1779, allocations: 3.953 kB / 0.663 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.178, allocations: 21.66 kB / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1781, allocations: 314.8 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1783, allocations: 28 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1784, allocations: 31.91 kB / 0.6634 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1787, allocations: 56.88 kB / 0.6634 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1787, allocations: 3.938 kB / 0.6635 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003117/0.179, allocations: 93.58 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.179, allocations: 4 kB / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.179, allocations: 0 / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1791, allocations: 4 kB / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1792, allocations: 16.02 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1792, allocations: 0 / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.1793, allocations: 7.984 kB / 0.6636 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1793, allocations: 0 / 0.6636 GB, free: 5.984 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 (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 9.238e-05/0.1794, allocations: 117.7 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1795, allocations: 3.984 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1795, allocations: 11.12 kB / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1795, allocations: 0 / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1795, allocations: 0 / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1795, allocations: 4 kB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1797, allocations: 161.6 kB / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1797, allocations: 4 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1799, allocations: 11.98 kB / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1799, allocations: 0 / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1799, allocations: 7.984 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1799, allocations: 4 kB / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1799, allocations: 0 / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1803, allocations: 179.4 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.1803, allocations: 85.05 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1804, allocations: 8.031 kB / 0.6641 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1805, allocations: 7.984 kB / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1805, allocations: 7.938 kB / 0.6642 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1805, allocations: 0 / 0.6642 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.1806, allocations: 79.28 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.914e-06/0.1806, allocations: 0 / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002365/0.1808, allocations: 23.86 kB / 0.6643 GB, free: 5.184 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 (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.0007725/0.1816, allocations: 0.7308 MB / 0.665 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.182, allocations: 63.97 kB / 0.665 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.182, allocations: 3.938 kB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1821, allocations: 31.95 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1824, allocations: 2.625 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.183, allocations: 168.2 kB / 0.6652 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1833, allocations: 0.6729 MB / 0.6659 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.352e-05/0.1834, allocations: 4 kB / 0.6659 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1835, allocations: 15.42 kB / 0.6659 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1835, allocations: 4 kB / 0.6659 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2067, allocations: 1.655 MB / 0.6675 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.123, allocations: 11.64 kB / 0.6675 GB, free: 1.871 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)