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.0008976/0.0008976, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9141/0.9141, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 9.031 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 82.32 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001241/0.1464, allocations: 0.9861 MB / 0.5896 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1476, allocations: 0.836 MB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.1477, allocations: 0 / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1477, allocations: 0 / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.1477, allocations: 7.922 kB / 0.5904 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1481, allocations: 115.5 kB / 0.5905 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.1482, allocations: 23.92 kB / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.1482, allocations: 0 / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1483, allocations: 19.97 kB / 0.5906 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.1483, allocations: 7.938 kB / 0.5906 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1484, allocations: 0 / 0.5906 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1487, allocations: 163.7 kB / 0.5907 GB, free: 452 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.1487, allocations: 15.97 kB / 0.5907 GB, free: 436 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.1487, allocations: 33.64 kB / 0.5908 GB, free: 396 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1489, allocations: 92.12 kB / 0.5909 GB, free: 304 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1489, allocations: 0 / 0.5909 GB, free: 304 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1489, allocations: 0 / 0.5909 GB, free: 304 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1489, allocations: 0 / 0.5909 GB, free: 304 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.0004092/0.1493, allocations: 355.3 kB / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1494, allocations: 12.03 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1494, allocations: 4.938 kB / 0.5912 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1495, allocations: 168.3 kB / 0.5914 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.1496, allocations: 30.27 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1496, allocations: 8.375 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1497, allocations: 46.25 kB / 0.5915 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1498, allocations: 3.938 kB / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1498, allocations: 3.938 kB / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1498, allocations: 0 / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.1499, allocations: 19.98 kB / 0.5915 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.15, allocations: 153.7 kB / 0.5916 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1502, allocations: 58.53 kB / 0.5917 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.1503, allocations: 12.86 kB / 0.5917 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.1506, allocations: 178.3 kB / 0.5919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1506, allocations: 34.56 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1506, allocations: 0 / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002389/0.1509, allocations: 77.52 kB / 0.592 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1509, allocations: 51.41 kB / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.151, allocations: 106 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.151, allocations: 29.64 kB / 0.5922 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.151, allocations: 80.14 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1511, allocations: 7.891 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.1511, allocations: 13.72 kB / 0.5922 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.1512, allocations: 318.8 kB / 0.5926 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1512, allocations: 7.984 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.1513, allocations: 12 kB / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.1514, allocations: 24.84 kB / 0.5926 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1514, allocations: 0 / 0.5926 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.1515, allocations: 61.67 kB / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1515, allocations: 7.938 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1516, allocations: 0 / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1516, allocations: 4 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.1516, allocations: 11.94 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1516, allocations: 3.938 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.1517, allocations: 11.83 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1517, allocations: 4 kB / 0.5927 GB, free: 14.14 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 6.886e-05/0.1518, allocations: 105.8 kB / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1518, allocations: 7.938 kB / 0.5928 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1519, allocations: 69.17 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.152, allocations: 0 / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.152, allocations: 0 / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.152, allocations: 0 / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1521, allocations: 157.7 kB / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1521, allocations: 0 / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1521, allocations: 11.92 kB / 0.593 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1522, allocations: 7.938 kB / 0.593 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1522, allocations: 0 / 0.593 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1522, allocations: 0 / 0.593 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1522, allocations: 0 / 0.593 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.1523, allocations: 89.05 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.1524, allocations: 81.02 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1524, allocations: 11.94 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.1525, allocations: 0 / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1525, allocations: 7.984 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1525, allocations: 0 / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.1525, allocations: 79.7 kB / 0.5933 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1525, allocations: 4 kB / 0.5933 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002204/0.1528, allocations: 35.92 kB / 0.5933 GB, free: 13.38 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.0002114/0.153, allocations: 139.2 kB / 0.5935 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1531, allocations: 27.97 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1531, allocations: 0 / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.1532, allocations: 12.23 kB / 0.5935 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1534, allocations: 11.98 kB / 0.5935 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.1537, allocations: 172.2 kB / 0.5937 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1539, allocations: 0.6809 MB / 0.5943 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.154, allocations: 11.44 kB / 0.5944 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.154, allocations: 0 / 0.5944 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.002333/0.1563, allocations: 0.9757 MB / 0.5953 GB, free: 11.29 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)