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.00107/0.00107, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001075/0.001075, allocations: 188 kB / 17.29 MB, free: 5.48 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7834/0.7834, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4196, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002311/0.4219, allocations: 1.253 MB / 0.587 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4231, allocations: 0.8432 MB / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.4232, allocations: 0 / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.4232, allocations: 5.094 kB / 0.5878 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.4233, allocations: 0 / 0.5878 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.4237, allocations: 131 kB / 0.5879 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.4238, allocations: 23.92 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.4239, allocations: 10.39 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.4239, allocations: 5.312 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.424, allocations: 14.36 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.424, allocations: 0 / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.4243, allocations: 171.2 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.4243, allocations: 2.656 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.4243, allocations: 16.11 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.4246, allocations: 119.9 kB / 0.5883 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4246, allocations: 1.875 kB / 0.5883 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4246, allocations: 0 / 0.5883 GB, free: 23.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4246, allocations: 0 / 0.5883 GB, free: 23.63 MB / 446.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.0003607/0.425, allocations: 364.7 kB / 0.5886 GB, free: 23.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.425, allocations: 10.08 kB / 0.5886 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.4251, allocations: 8.188 kB / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.86e-05/0.4251, allocations: 161.7 kB / 0.5888 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.4252, allocations: 33.97 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.4252, allocations: 1.719 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4254, allocations: 47.25 kB / 0.5889 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4254, allocations: 3.938 kB / 0.5889 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4254, allocations: 0 / 0.5889 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4254, allocations: 1.656 kB / 0.5889 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.4255, allocations: 21.64 kB / 0.5889 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.4256, allocations: 158 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4258, allocations: 47.39 kB / 0.5891 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4259, allocations: 24.19 kB / 0.5891 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.4261, allocations: 184.4 kB / 0.5893 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.4261, allocations: 30.56 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4262, allocations: 1.844 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.4264, allocations: 77.2 kB / 0.5894 GB, free: 22.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.4264, allocations: 52.69 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.4265, allocations: 97.45 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.4265, allocations: 27.58 kB / 0.5896 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.24e-05/0.4265, allocations: 88.88 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.4265, allocations: 6.344 kB / 0.5897 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.4265, allocations: 22.41 kB / 0.5897 GB, free: 22.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.4266, allocations: 310.8 kB / 0.59 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.4266, allocations: 15.17 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.4267, allocations: 5.875 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.4268, allocations: 31.75 kB / 0.59 GB, free: 21.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4268, allocations: 1.094 kB / 0.59 GB, free: 21.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.4269, allocations: 63.36 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4269, allocations: 13.22 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4269, allocations: 0 / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4269, allocations: 1.406 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.427, allocations: 5.656 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.427, allocations: 1.406 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.427, allocations: 2.75 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4271, allocations: 5.016 kB / 0.5901 GB, free: 21.69 MB / 446.1 MB 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 4.32e-05/0.4271, allocations: 112.6 kB / 0.5902 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.4271, allocations: 5.312 kB / 0.5902 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.4273, allocations: 69.92 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4273, allocations: 0 / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4273, allocations: 1.469 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4273, allocations: 0 / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.241e-05/0.4274, allocations: 154.6 kB / 0.5905 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4274, allocations: 1.906 kB / 0.5905 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.4275, allocations: 13.61 kB / 0.5905 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4275, allocations: 3.938 kB / 0.5905 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4275, allocations: 1.281 kB / 0.5905 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4275, allocations: 0 / 0.5905 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4275, allocations: 3.938 kB / 0.5905 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4276, allocations: 92.81 kB / 0.5906 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.4277, allocations: 89.09 kB / 0.5907 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4277, allocations: 3.938 kB / 0.5907 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.4278, allocations: 1.312 kB / 0.5907 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4278, allocations: 7.172 kB / 0.5907 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.4278, allocations: 2.156 kB / 0.5907 GB, free: 21.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.4279, allocations: 86.38 kB / 0.5908 GB, free: 21.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4279, allocations: 0 / 0.5908 GB, free: 21.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4281, allocations: 28.41 kB / 0.5908 GB, free: 21.02 MB / 446.1 MB 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.0001978/0.4283, allocations: 144.6 kB / 0.5909 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.4285, allocations: 31.97 kB / 0.5909 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4285, allocations: 0 / 0.5909 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.4286, allocations: 13.34 kB / 0.591 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4288, allocations: 15.97 kB / 0.591 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.429, allocations: 119.5 kB / 0.5911 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.4292, allocations: 0.6807 MB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4292, allocations: 2.031 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.4292, allocations: 12.44 kB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4292, allocations: 0 / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of Templates: time 0.003127/0.4324, allocations: 1.063 MB / 0.5928 GB, free: 18.98 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)