Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",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.006229/0.006229, allocations: 102 kB / 15.73 MB, free: 6.039 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.001523/0.001523, allocations: 194 kB / 16.67 MB, free: 5.961 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 422.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.25 kB / 0.5808 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 80.2 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003095/0.1713, allocations: 1.483 MB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1727, allocations: 0.8107 MB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1728, allocations: 0 / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.1728, allocations: 7.922 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.1729, allocations: 11.92 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.1735, allocations: 135.3 kB / 0.6616 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1736, allocations: 55.84 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1737, allocations: 8 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.1738, allocations: 19.92 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.1739, allocations: 27.91 kB / 0.6617 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1739, allocations: 4 kB / 0.6617 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1743, allocations: 175.7 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1744, allocations: 11.94 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.1744, allocations: 23.86 kB / 0.6619 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.1748, allocations: 147.4 kB / 0.662 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1748, allocations: 0 / 0.662 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1748, allocations: 4 kB / 0.662 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.1748, allocations: 0 / 0.662 GB, free: 7.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007183/0.1756, allocations: 387.2 kB / 0.6624 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1756, allocations: 12.03 kB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.1757, allocations: 38.75 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1757, allocations: 4.844 kB / 0.6624 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1759, allocations: 176.2 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1759, allocations: 8.359 kB / 0.6626 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.176, allocations: 4.375 kB / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1763, allocations: 74.2 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1763, allocations: 7.938 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1763, allocations: 7.984 kB / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1763, allocations: 0 / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1766, allocations: 71.86 kB / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.1771, allocations: 292.6 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1774, allocations: 54.53 kB / 0.6631 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1775, allocations: 40.92 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.1778, allocations: 89.09 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1778, allocations: 30.56 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.026e-06/0.1778, allocations: 4 kB / 0.6633 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005541/0.1784, allocations: 133.5 kB / 0.6634 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1785, allocations: 51.41 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1786, allocations: 116.5 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1786, allocations: 25.7 kB / 0.6636 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.1787, allocations: 96.12 kB / 0.6637 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.1787, allocations: 7.812 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.1788, allocations: 17.72 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1789, allocations: 326.7 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1791, allocations: 27.97 kB / 0.664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1792, allocations: 35.95 kB / 0.6641 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.1795, allocations: 68.73 kB / 0.6641 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1795, allocations: 0 / 0.6641 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003075/0.1798, allocations: 101.6 kB / 0.6642 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1798, allocations: 12 kB / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1798, allocations: 0 / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1799, allocations: 0 / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.18, allocations: 11.98 kB / 0.6642 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.18, allocations: 4 kB / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.1801, allocations: 11.89 kB / 0.6643 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1801, allocations: 4 kB / 0.6643 GB, free: 5.324 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 (3): * Single equations (assignments): 3 * 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.625e-05/0.1802, allocations: 122.6 kB / 0.6644 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1802, allocations: 4 kB / 0.6644 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.1806, allocations: 109.4 kB / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1806, allocations: 0 / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1806, allocations: 0 / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1806, allocations: 0 / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1808, allocations: 173.6 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1808, allocations: 4 kB / 0.6647 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1809, allocations: 19.98 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1809, allocations: 384 / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1809, allocations: 0 / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.181, allocations: 0 / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.181, allocations: 4 kB / 0.6647 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.1813, allocations: 207.2 kB / 0.6649 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1814, allocations: 77.11 kB / 0.6649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1814, allocations: 11.94 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1815, allocations: 11.98 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1816, allocations: 7.984 kB / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1816, allocations: 0 / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.1816, allocations: 91.27 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1816, allocations: 7.938 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002823/0.1819, allocations: 36 kB / 0.6651 GB, free: 4.344 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 (3): * Single equations (assignments): 3 * 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.0009011/0.1828, allocations: 0.7669 MB / 0.6659 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1832, allocations: 63.92 kB / 0.6659 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1832, allocations: 0 / 0.6659 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1834, allocations: 39.95 kB / 0.666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1837, allocations: 12 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1856, allocations: 1.429 MB / 0.6674 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1859, allocations: 0.6845 MB / 0.668 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.186, allocations: 4 kB / 0.668 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.186, allocations: 15.44 kB / 0.668 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.186, allocations: 0 / 0.668 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.2067, allocations: 2.473 MB / 0.6705 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.829, allocations: 11.33 kB / 0.6705 GB, free: 14.82 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)