Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001111/0.001111, allocations: 118.9 kB / 16.37 MB, free: 6.016 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.001014/0.001014, allocations: 193 kB / 17.31 MB, free: 5.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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8182/0.8182, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3831, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002736/0.3859, allocations: 1.258 MB / 0.5827 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3872, allocations: 0.8387 MB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.3872, allocations: 0 / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.3872, allocations: 0 / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.51e-05/0.3873, allocations: 9.953 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.3878, allocations: 129.9 kB / 0.5837 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.3879, allocations: 24.42 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.388, allocations: 1.125 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.3881, allocations: 19.11 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.3881, allocations: 8.297 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3881, allocations: 3.125 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.3885, allocations: 161.9 kB / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3885, allocations: 17.16 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3886, allocations: 3.656 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3888, allocations: 133.2 kB / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3888, allocations: 0 / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3888, allocations: 0 / 0.584 GB, free: 25.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3888, allocations: 0 / 0.584 GB, free: 25.64 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.0003873/0.3892, allocations: 358.8 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3893, allocations: 14.34 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3893, allocations: 4.781 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.263e-05/0.3894, allocations: 164.4 kB / 0.5846 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.3895, allocations: 34.7 kB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3895, allocations: 1.188 kB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3896, allocations: 46.92 kB / 0.5846 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3896, allocations: 10.06 kB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3896, allocations: 0 / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3896, allocations: 3.375 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.3897, allocations: 16.67 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.3899, allocations: 167.2 kB / 0.5848 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3901, allocations: 43 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.3901, allocations: 15.61 kB / 0.5849 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.3904, allocations: 179.1 kB / 0.5851 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.3904, allocations: 36.16 kB / 0.5851 GB, free: 24.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3904, allocations: 0.5938 kB / 0.5851 GB, free: 24.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.3907, allocations: 78.94 kB / 0.5852 GB, free: 24.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3907, allocations: 51.94 kB / 0.5852 GB, free: 24.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.3908, allocations: 98.81 kB / 0.5853 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.3908, allocations: 25.7 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.53e-05/0.3908, allocations: 85.27 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3908, allocations: 13.78 kB / 0.5854 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.3909, allocations: 18.84 kB / 0.5854 GB, free: 24.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.3909, allocations: 320.3 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.391, allocations: 6.062 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.391, allocations: 14.58 kB / 0.5858 GB, free: 23.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.3911, allocations: 31.16 kB / 0.5858 GB, free: 23.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3911, allocations: 0 / 0.5858 GB, free: 23.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.3912, allocations: 57.03 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3912, allocations: 9.188 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3913, allocations: 0 / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3913, allocations: 1.125 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.3913, allocations: 12.02 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3914, allocations: 1.344 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.3914, allocations: 1.625 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3914, allocations: 1.156 kB / 0.5859 GB, free: 23.7 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 5.832e-05/0.3915, allocations: 112.4 kB / 0.586 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3915, allocations: 6.656 kB / 0.586 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.3917, allocations: 70.95 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3917, allocations: 1.062 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3917, allocations: 1.25 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3917, allocations: 3.984 kB / 0.5861 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.878e-05/0.3918, allocations: 160 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3918, allocations: 0 / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3918, allocations: 6.562 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3918, allocations: 7.969 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3918, allocations: 0 / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3918, allocations: 1.344 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3919, allocations: 0 / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.392, allocations: 88.2 kB / 0.5863 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.3921, allocations: 83.64 kB / 0.5864 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3921, allocations: 7.922 kB / 0.5864 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.3921, allocations: 7.562 kB / 0.5864 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3922, allocations: 0 / 0.5864 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3922, allocations: 7.578 kB / 0.5864 GB, free: 23.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.3922, allocations: 84.72 kB / 0.5865 GB, free: 23.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 0 / 0.5865 GB, free: 23.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.3925, allocations: 31.59 kB / 0.5865 GB, free: 23.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.0002349/0.3927, allocations: 140.9 kB / 0.5867 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3929, allocations: 30.42 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3929, allocations: 1.281 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.3929, allocations: 17.64 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.3931, allocations: 6.5 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3934, allocations: 126.9 kB / 0.5868 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3936, allocations: 0.6774 MB / 0.5875 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3937, allocations: 8 kB / 0.5875 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.3937, allocations: 12.09 kB / 0.5875 GB, free: 22.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3937, allocations: 0 / 0.5875 GB, free: 22.06 MB / 446.1 MB Notification: Performance of Templates: time 0.003575/0.3973, allocations: 1.053 MB / 0.5885 GB, free: 21.57 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)