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.001344/0.001344, allocations: 106 kB / 16.27 MB, free: 6.023 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.001228/0.001228, allocations: 190.5 kB / 17.2 MB, free: 5.66 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8283/0.8283, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 67.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3501, allocations: 80.92 MB / 0.5851 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002264/0.3524, allocations: 1.493 MB / 0.5865 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009874/0.3534, allocations: 0.8 MB / 0.5873 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.3535, allocations: 1.312 kB / 0.5873 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.3535, allocations: 5.312 kB / 0.5873 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.3536, allocations: 9.094 kB / 0.5873 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.354, allocations: 132.1 kB / 0.5874 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.3541, allocations: 57.91 kB / 0.5875 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.3542, allocations: 17.39 kB / 0.5875 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.3542, allocations: 15.73 kB / 0.5875 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.3543, allocations: 26.73 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3543, allocations: 4.406 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3546, allocations: 169 kB / 0.5877 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.3546, allocations: 13.27 kB / 0.5877 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.3546, allocations: 27.23 kB / 0.5877 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3548, allocations: 151 kB / 0.5879 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3549, allocations: 0 / 0.5879 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3549, allocations: 0 / 0.5879 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3549, allocations: 0 / 0.5879 GB, free: 23.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004321/0.3553, allocations: 398.2 kB / 0.5883 GB, free: 22.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3553, allocations: 12.52 kB / 0.5883 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3554, allocations: 3.219 kB / 0.5883 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.3555, allocations: 170.5 kB / 0.5884 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3555, allocations: 5.5 kB / 0.5885 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3555, allocations: 5.891 kB / 0.5885 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3557, allocations: 77.83 kB / 0.5885 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3557, allocations: 1.656 kB / 0.5885 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3558, allocations: 7.938 kB / 0.5885 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3558, allocations: 1.594 kB / 0.5885 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.3561, allocations: 67.39 kB / 0.5886 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.3563, allocations: 285.3 kB / 0.5889 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3565, allocations: 58.17 kB / 0.5889 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3567, allocations: 40.38 kB / 0.589 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.3568, allocations: 90.31 kB / 0.5891 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3569, allocations: 41.03 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3569, allocations: 3.938 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005145/0.3574, allocations: 132.6 kB / 0.5892 GB, free: 21.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3574, allocations: 57.31 kB / 0.5893 GB, free: 21.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.3575, allocations: 116.6 kB / 0.5894 GB, free: 21.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.3575, allocations: 26.48 kB / 0.5894 GB, free: 21.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.3576, allocations: 86.73 kB / 0.5895 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.3576, allocations: 14.2 kB / 0.5895 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3576, allocations: 16.28 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.3577, allocations: 318.5 kB / 0.5898 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3578, allocations: 33.83 kB / 0.5899 GB, free: 21.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3579, allocations: 31.97 kB / 0.5899 GB, free: 21.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3582, allocations: 68.09 kB / 0.59 GB, free: 21.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3582, allocations: 1.062 kB / 0.59 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003004/0.3585, allocations: 100.2 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3585, allocations: 9.188 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3586, allocations: 0 / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3586, allocations: 0.875 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3587, allocations: 19.16 kB / 0.5901 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3587, allocations: 3.438 kB / 0.5901 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.3588, allocations: 14.8 kB / 0.5901 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3588, allocations: 1.281 kB / 0.5901 GB, free: 21.11 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 (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 4.934e-05/0.3588, allocations: 112.1 kB / 0.5902 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3589, allocations: 2.719 kB / 0.5902 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.3592, allocations: 111.4 kB / 0.5903 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3592, allocations: 384 / 0.5903 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3592, allocations: 2.938 kB / 0.5903 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3593, allocations: 3.984 kB / 0.5903 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3594, allocations: 170.6 kB / 0.5905 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3594, allocations: 3.938 kB / 0.5905 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.3595, allocations: 20.31 kB / 0.5905 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3595, allocations: 3.984 kB / 0.5905 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3595, allocations: 5.031 kB / 0.5905 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3595, allocations: 3.938 kB / 0.5905 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3595, allocations: 3.125 kB / 0.5905 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3598, allocations: 195.5 kB / 0.5907 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3599, allocations: 85 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3599, allocations: 4 kB / 0.5908 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.36, allocations: 9.828 kB / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.36, allocations: 8 kB / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.36, allocations: 0 / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.3601, allocations: 94.89 kB / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3601, allocations: 0 / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3603, allocations: 35.88 kB / 0.5909 GB, free: 20.26 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 (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.0001611/0.3605, allocations: 137.5 kB / 0.5911 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3608, allocations: 69.14 kB / 0.5911 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3608, allocations: 0 / 0.5911 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.361, allocations: 37.02 kB / 0.5912 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3613, allocations: 24.52 kB / 0.5912 GB, free: 20 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3616, allocations: 177.8 kB / 0.5914 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.02e-05/0.3617, allocations: 0.682 MB / 0.592 GB, free: 19.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.3617, allocations: 15.44 kB / 0.592 GB, free: 19.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3617, allocations: 0 / 0.592 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002395/0.3641, allocations: 1.219 MB / 0.5932 GB, free: 17.91 MB / 446.1 MB 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)