Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001155/0.001155, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001209/0.001209, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.993/0.993, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 13.28 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 82.3 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002002/0.2197, allocations: 1.196 MB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.221, allocations: 0.753 MB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.2211, allocations: 0 / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.2211, allocations: 7.938 kB / 0.5893 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.2212, allocations: 11.91 kB / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.2216, allocations: 103.5 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.2217, allocations: 47.84 kB / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2218, allocations: 19.97 kB / 0.5895 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.2219, allocations: 15.94 kB / 0.5895 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.222, allocations: 23.91 kB / 0.5895 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.222, allocations: 0 / 0.5895 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.2223, allocations: 167.7 kB / 0.5897 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2224, allocations: 7.938 kB / 0.5897 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.2224, allocations: 33.7 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2226, allocations: 108.1 kB / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2226, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2226, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2226, allocations: 4 kB / 0.5898 GB, free: 0.5 MB / 494.1 MB 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.0005808/0.2232, allocations: 399.1 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2233, allocations: 12.03 kB / 0.5902 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.2233, allocations: 7.844 kB / 0.5902 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2235, allocations: 175 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.2235, allocations: 7.938 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2235, allocations: 4 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.2238, allocations: 81.64 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2238, allocations: 0 / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2238, allocations: 4 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2238, allocations: 4 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.2241, allocations: 87.92 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.2246, allocations: 292.6 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2248, allocations: 70.55 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.2249, allocations: 48.91 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.2251, allocations: 97.16 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2252, allocations: 30.56 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2252, allocations: 0 / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005673/0.2257, allocations: 173.4 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2258, allocations: 51.41 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.2259, allocations: 117.8 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2259, allocations: 25.7 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.226, allocations: 88.14 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.226, allocations: 11.89 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.226, allocations: 0 / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2261, allocations: 314.8 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2263, allocations: 47.95 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2264, allocations: 39.97 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2266, allocations: 39.97 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2266, allocations: 0 / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003074/0.2269, allocations: 129.5 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.2269, allocations: 8 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2269, allocations: 0 / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.227, allocations: 0 / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2271, allocations: 27.94 kB / 0.5921 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2271, allocations: 3.984 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.2272, allocations: 23.92 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2272, allocations: 0 / 0.5921 GB, free: 13.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.2273, allocations: 113.8 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.2273, allocations: 7.906 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.2277, allocations: 133.8 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2277, allocations: 0 / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2278, allocations: 7.953 kB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2278, allocations: 4.031 kB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.228, allocations: 173.6 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.228, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.2281, allocations: 19.98 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2281, allocations: 3.938 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2281, allocations: 4 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2281, allocations: 0 / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2281, allocations: 0 / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.2285, allocations: 219.4 kB / 0.5928 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.2285, allocations: 85.02 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2285, allocations: 0 / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2287, allocations: 19.98 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.2287, allocations: 11.92 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.2287, allocations: 4 kB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.2288, allocations: 91.27 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002798/0.2291, allocations: 35.89 kB / 0.593 GB, free: 12.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.2293, allocations: 127.2 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.2297, allocations: 91.91 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2297, allocations: 4 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2299, allocations: 43.97 kB / 0.5933 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2302, allocations: 7.938 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.2306, allocations: 174.5 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2309, allocations: 0.6886 MB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.2309, allocations: 0 / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.231, allocations: 11.44 kB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.231, allocations: 4 kB / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.004084/0.2351, allocations: 1.191 MB / 0.5953 GB, free: 10.49 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)