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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006704/0.006704, allocations: 100.8 kB / 15.73 MB, free: 6 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.001196/0.001196, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 66.98 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2037, allocations: 80.19 MB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003527/0.2073, allocations: 1.484 MB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2089, allocations: 0.8146 MB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.209, allocations: 0 / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.209, allocations: 3.938 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.2091, allocations: 15.86 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.2098, allocations: 131.5 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2099, allocations: 55.72 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.21, allocations: 15.98 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.2101, allocations: 15.94 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.2102, allocations: 23.91 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2102, allocations: 4 kB / 0.6622 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.2106, allocations: 179.8 kB / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.2107, allocations: 7.938 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2107, allocations: 19.86 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.2111, allocations: 151.5 kB / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2111, allocations: 0 / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2111, allocations: 0 / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2111, allocations: 0 / 0.6625 GB, free: 10.62 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.0006871/0.2118, allocations: 402.9 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2119, allocations: 16.03 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.2119, allocations: 4.891 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2122, allocations: 176.3 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2122, allocations: 384 / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2122, allocations: 8.375 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.2125, allocations: 82.08 kB / 0.6632 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2125, allocations: 192 / 0.6632 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2126, allocations: 7.922 kB / 0.6632 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2126, allocations: 0 / 0.6632 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.2129, allocations: 71.92 kB / 0.6632 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.2134, allocations: 276.8 kB / 0.6635 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2136, allocations: 62.47 kB / 0.6636 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2138, allocations: 40.92 kB / 0.6636 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.214, allocations: 89.09 kB / 0.6637 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.214, allocations: 38.55 kB / 0.6637 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.214, allocations: 0 / 0.6637 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005572/0.2146, allocations: 129.5 kB / 0.6638 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.2146, allocations: 55.41 kB / 0.6639 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2148, allocations: 117.8 kB / 0.664 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2148, allocations: 29.64 kB / 0.664 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2149, allocations: 88.14 kB / 0.6641 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2149, allocations: 19.84 kB / 0.6641 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2149, allocations: 13.72 kB / 0.6641 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2151, allocations: 322.8 kB / 0.6645 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2152, allocations: 31.97 kB / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2154, allocations: 35.89 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.2156, allocations: 72.78 kB / 0.6646 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2157, allocations: 0 / 0.6646 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.216, allocations: 93.62 kB / 0.6647 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.216, allocations: 6.031 kB / 0.6647 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.216, allocations: 0 / 0.6647 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.216, allocations: 8 kB / 0.6647 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2162, allocations: 15.92 kB / 0.6647 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2162, allocations: 0 / 0.6647 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.2163, allocations: 19.92 kB / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2163, allocations: 0 / 0.6647 GB, free: 8.09 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.651e-05/0.2164, allocations: 117.8 kB / 0.6648 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2164, allocations: 4 kB / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.2168, allocations: 109.8 kB / 0.6649 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2168, allocations: 0 / 0.6649 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2169, allocations: 0 / 0.6649 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2169, allocations: 4.031 kB / 0.665 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.2171, allocations: 173.6 kB / 0.6651 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2171, allocations: 0 / 0.6651 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.2172, allocations: 23.92 kB / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2172, allocations: 0 / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-06/0.2172, allocations: 0 / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2172, allocations: 3.938 kB / 0.6651 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2172, allocations: 0 / 0.6651 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2176, allocations: 203.4 kB / 0.6653 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.2177, allocations: 85.06 kB / 0.6654 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2177, allocations: 0 / 0.6654 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2178, allocations: 11.98 kB / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.2179, allocations: 7.984 kB / 0.6654 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2179, allocations: 0 / 0.6654 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.2179, allocations: 94.33 kB / 0.6655 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2179, allocations: 0 / 0.6655 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002951/0.2182, allocations: 35.88 kB / 0.6656 GB, free: 7.125 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.0003026/0.2186, allocations: 141 kB / 0.6657 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2189, allocations: 71.86 kB / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2189, allocations: 0 / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2191, allocations: 35.97 kB / 0.6658 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.2195, allocations: 19.92 kB / 0.6658 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.22, allocations: 147 kB / 0.666 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.2203, allocations: 0.6846 MB / 0.6666 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.34e-05/0.2204, allocations: 8 kB / 0.6666 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2204, allocations: 7.438 kB / 0.6666 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.2204, allocations: 0 / 0.6666 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.004363/0.2248, allocations: 1.367 MB / 0.668 GB, free: 4.602 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)