Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001412/0.001412, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 423.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3734, allocations: 80.18 MB / 0.5807 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002543/0.376, allocations: 1.651 MB / 0.5824 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.3767, allocations: 401.2 kB / 0.5827 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.3767, allocations: 1.281 kB / 0.5827 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3768, allocations: 17.28 kB / 0.5828 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.3769, allocations: 24.19 kB / 0.5828 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3773, allocations: 113.4 kB / 0.5829 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3775, allocations: 114.1 kB / 0.583 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3776, allocations: 38.95 kB / 0.583 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.3777, allocations: 39.58 kB / 0.5831 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.3778, allocations: 43.83 kB / 0.5831 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3778, allocations: 8.094 kB / 0.5831 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3779, allocations: 56.27 kB / 0.5832 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.378, allocations: 29.28 kB / 0.5832 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.378, allocations: 41.08 kB / 0.5832 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3782, allocations: 134.8 kB / 0.5834 GB, free: 25.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3782, allocations: 0.625 kB / 0.5834 GB, free: 25.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3782, allocations: 2.281 kB / 0.5834 GB, free: 25.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3783, allocations: 0 / 0.5834 GB, free: 25.22 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005284/0.3788, allocations: 419.4 kB / 0.5838 GB, free: 24.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3788, allocations: 9.906 kB / 0.5838 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.3791, allocations: 34.22 kB / 0.5838 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3792, allocations: 197.4 kB / 0.584 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.3793, allocations: 36.91 kB / 0.584 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3793, allocations: 9.656 kB / 0.584 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3796, allocations: 110 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3796, allocations: 3.938 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3796, allocations: 1.469 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3796, allocations: 3.469 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.3799, allocations: 81.67 kB / 0.5842 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.3805, allocations: 385.4 kB / 0.5846 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.381, allocations: 130.8 kB / 0.5847 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3812, allocations: 42.69 kB / 0.5848 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3812, allocations: 1.25 kB / 0.5848 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.3812, allocations: 36.77 kB / 0.5848 GB, free: 23.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3812, allocations: 0 / 0.5848 GB, free: 23.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004025/0.3816, allocations: 133.5 kB / 0.5849 GB, free: 23.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.3816, allocations: 51.41 kB / 0.585 GB, free: 23.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.3817, allocations: 146.2 kB / 0.5851 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3818, allocations: 29.7 kB / 0.5852 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.3818, allocations: 104.6 kB / 0.5853 GB, free: 23.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3818, allocations: 27.11 kB / 0.5853 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3819, allocations: 23.14 kB / 0.5853 GB, free: 23.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.3819, allocations: 321.8 kB / 0.5856 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.382, allocations: 25.02 kB / 0.5856 GB, free: 23.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3822, allocations: 50.03 kB / 0.5857 GB, free: 23.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3824, allocations: 72 kB / 0.5857 GB, free: 23.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3824, allocations: 2.344 kB / 0.5857 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002289/0.3826, allocations: 113.3 kB / 0.5859 GB, free: 22.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3826, allocations: 11.09 kB / 0.5859 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3826, allocations: 0 / 0.5859 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3827, allocations: 0.625 kB / 0.5859 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3828, allocations: 25.39 kB / 0.5859 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3828, allocations: 0 / 0.5859 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.3829, allocations: 17.83 kB / 0.5859 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.3829, allocations: 2.656 kB / 0.5859 GB, free: 22.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.066e-05/0.3829, allocations: 116.5 kB / 0.586 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.383, allocations: 7.688 kB / 0.586 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.383, allocations: 19.66 kB / 0.586 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.383, allocations: 5.438 kB / 0.5861 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.383, allocations: 0 / 0.5861 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.383, allocations: 1.125 kB / 0.5861 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3832, allocations: 200 kB / 0.5862 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3832, allocations: 0.625 kB / 0.5862 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.937e-05/0.3833, allocations: 18.39 kB / 0.5863 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3833, allocations: 0.9375 kB / 0.5863 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3833, allocations: 1.344 kB / 0.5863 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3833, allocations: 7.938 kB / 0.5863 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3833, allocations: 0 / 0.5863 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3836, allocations: 206.2 kB / 0.5865 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3836, allocations: 87.27 kB / 0.5866 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3837, allocations: 5.5 kB / 0.5866 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3838, allocations: 15.05 kB / 0.5866 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3839, allocations: 2.656 kB / 0.5866 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3839, allocations: 6.734 kB / 0.5866 GB, free: 22.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.3839, allocations: 103.2 kB / 0.5867 GB, free: 22.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3839, allocations: 1.188 kB / 0.5867 GB, free: 22.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.3842, allocations: 22.81 kB / 0.5867 GB, free: 22.19 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 (7): * Single equations (assignments): 7 * 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 9.508e-05/0.3843, allocations: 94.81 kB / 0.5868 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3846, allocations: 84.14 kB / 0.5869 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3846, allocations: 0 / 0.5869 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3847, allocations: 34.92 kB / 0.5869 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3851, allocations: 43.06 kB / 0.5869 GB, free: 22.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.3855, allocations: 241.1 kB / 0.5872 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3856, allocations: 0.6935 MB / 0.5879 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.3857, allocations: 13.06 kB / 0.5879 GB, free: 21.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3857, allocations: 0 / 0.5879 GB, free: 21.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002698/0.3884, allocations: 1.311 MB / 0.5891 GB, free: 20.5 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)