Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007521/0.0007522, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004876/0.004876, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9383/0.9383, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004021, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001644/0.191, allocations: 0.9861 MB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1926, allocations: 0.8359 MB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1927, allocations: 0 / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1927, allocations: 3.984 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.1928, allocations: 7.922 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.1933, allocations: 111.6 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.1934, allocations: 23.86 kB / 0.5899 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.1934, allocations: 8 kB / 0.5899 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.1935, allocations: 4 kB / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.1936, allocations: 15.91 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1936, allocations: 4 kB / 0.5899 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.194, allocations: 167.7 kB / 0.5901 GB, free: 436 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.194, allocations: 7.969 kB / 0.5901 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.194, allocations: 41.64 kB / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1943, allocations: 116 kB / 0.5902 GB, free: 264 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1943, allocations: 0 / 0.5902 GB, free: 264 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1943, allocations: 3.938 kB / 0.5902 GB, free: 260 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1943, allocations: 0 / 0.5902 GB, free: 260 kB / 494.1 MB 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.0004671/0.1948, allocations: 355.4 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1948, allocations: 12.03 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1949, allocations: 4.922 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.195, allocations: 164.4 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.1951, allocations: 34.25 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1951, allocations: 4.375 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1953, allocations: 42.25 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1953, allocations: 7.938 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1953, allocations: 7.984 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1953, allocations: 0 / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1954, allocations: 19.92 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.1956, allocations: 161.7 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1959, allocations: 46.56 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.1959, allocations: 20.8 kB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.1963, allocations: 178.3 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1963, allocations: 30.56 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1963, allocations: 4 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002833/0.1966, allocations: 77.45 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1966, allocations: 51.41 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.1967, allocations: 101.8 kB / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1967, allocations: 25.7 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.1968, allocations: 80.14 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.1968, allocations: 7.906 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.1969, allocations: 13.72 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.197, allocations: 322.8 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.197, allocations: 8 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.1971, allocations: 11.98 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1972, allocations: 24.86 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1972, allocations: 3.984 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.1973, allocations: 57.62 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1974, allocations: 9.812 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1974, allocations: 4 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1974, allocations: 0.5156 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.1975, allocations: 8 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1975, allocations: 3.984 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.1975, allocations: 7.844 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1975, allocations: 7.984 kB / 0.5921 GB, free: 14.11 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 7.549e-05/0.1976, allocations: 109.8 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1976, allocations: 7.938 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1978, allocations: 73.09 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1978, allocations: 0 / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1979, allocations: 0 / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1979, allocations: 4 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.198, allocations: 153.7 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.198, allocations: 0 / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.198, allocations: 11.98 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1981, allocations: 3.938 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1981, allocations: 4 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1981, allocations: 0 / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1981, allocations: 7.938 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1982, allocations: 81.11 kB / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.1983, allocations: 84.95 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1983, allocations: 7.938 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.1984, allocations: 3.984 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1984, allocations: 4 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1984, allocations: 0 / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.1985, allocations: 87.28 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1985, allocations: 0 / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002322/0.1987, allocations: 35.92 kB / 0.5927 GB, free: 13.33 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.0002275/0.1989, allocations: 135.2 kB / 0.5929 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1991, allocations: 27.98 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1991, allocations: 0 / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.1992, allocations: 15.94 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1994, allocations: 11.98 kB / 0.5929 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.1997, allocations: 142.5 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2, allocations: 0.6795 MB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.2, allocations: 8 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2, allocations: 7.438 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2, allocations: 3.938 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.003292/0.2033, allocations: 1.014 MB / 0.5947 GB, free: 11.24 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)