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.001147/0.001147, allocations: 98.83 kB / 16.35 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.001141/0.001141, allocations: 193 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8357/0.8357, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.408, allocations: 80.19 MB / 0.5815 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002781/0.4108, allocations: 1.669 MB / 0.5831 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.4115, allocations: 400.5 kB / 0.5835 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.4116, allocations: 1.938 kB / 0.5835 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.4117, allocations: 11.86 kB / 0.5835 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.4118, allocations: 21.52 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.4122, allocations: 109.6 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4124, allocations: 120.9 kB / 0.5837 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4125, allocations: 38.34 kB / 0.5838 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.4126, allocations: 40.08 kB / 0.5838 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.4127, allocations: 43.7 kB / 0.5839 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4127, allocations: 8.719 kB / 0.5839 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4128, allocations: 64 kB / 0.5839 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.4128, allocations: 23.77 kB / 0.584 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.4129, allocations: 45.7 kB / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.4131, allocations: 135.3 kB / 0.5841 GB, free: 25.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4131, allocations: 0 / 0.5841 GB, free: 25.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4131, allocations: 1.156 kB / 0.5841 GB, free: 25.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.4131, allocations: 0 / 0.5841 GB, free: 25.69 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.000489/0.4136, allocations: 422.7 kB / 0.5845 GB, free: 25.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4137, allocations: 8.969 kB / 0.5845 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.4139, allocations: 31.72 kB / 0.5846 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4141, allocations: 200.6 kB / 0.5848 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.4142, allocations: 30.73 kB / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.4142, allocations: 9.688 kB / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4144, allocations: 107.7 kB / 0.5849 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4145, allocations: 5.094 kB / 0.5849 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4145, allocations: 1.219 kB / 0.5849 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4145, allocations: 2.031 kB / 0.5849 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.4147, allocations: 80.84 kB / 0.585 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.4154, allocations: 380.6 kB / 0.5854 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.4159, allocations: 136.8 kB / 0.5855 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.416, allocations: 44.86 kB / 0.5855 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.416, allocations: 2.625 kB / 0.5855 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.416, allocations: 32.44 kB / 0.5856 GB, free: 24.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.416, allocations: 0 / 0.5856 GB, free: 24.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.4164, allocations: 130.5 kB / 0.5857 GB, free: 24.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4165, allocations: 52.59 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.4166, allocations: 144.1 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4166, allocations: 31.83 kB / 0.5859 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.4166, allocations: 111.5 kB / 0.586 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.4166, allocations: 28.08 kB / 0.586 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4167, allocations: 18.38 kB / 0.5861 GB, free: 23.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.4167, allocations: 320.7 kB / 0.5864 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.4168, allocations: 30.05 kB / 0.5864 GB, free: 23.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.4169, allocations: 45.5 kB / 0.5864 GB, free: 23.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4171, allocations: 81.41 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4171, allocations: 2.094 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002328/0.4174, allocations: 108.9 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4174, allocations: 5.094 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4174, allocations: 0 / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4174, allocations: 2.25 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4175, allocations: 22.61 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4176, allocations: 1.5 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.4176, allocations: 18.33 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4177, allocations: 1.219 kB / 0.5867 GB, free: 23.43 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.532e-05/0.4177, allocations: 118.9 kB / 0.5868 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4178, allocations: 8.438 kB / 0.5868 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4178, allocations: 19.66 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4178, allocations: 5.438 kB / 0.5868 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4178, allocations: 0 / 0.5868 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4178, allocations: 3.984 kB / 0.5868 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.418, allocations: 198 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.418, allocations: 1.312 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4181, allocations: 16.02 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4181, allocations: 0 / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4181, allocations: 1.562 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4181, allocations: 5.781 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4181, allocations: 0 / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.4184, allocations: 205.6 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.4184, allocations: 91.03 kB / 0.5873 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4185, allocations: 5.344 kB / 0.5873 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4186, allocations: 15.17 kB / 0.5873 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4187, allocations: 11.05 kB / 0.5873 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4187, allocations: 2.719 kB / 0.5873 GB, free: 22.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.4187, allocations: 108.7 kB / 0.5874 GB, free: 22.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4187, allocations: 0 / 0.5874 GB, free: 22.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.419, allocations: 20.28 kB / 0.5875 GB, free: 22.66 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.737e-05/0.4191, allocations: 105.7 kB / 0.5876 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4194, allocations: 78.44 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4194, allocations: 0 / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.4195, allocations: 34.58 kB / 0.5877 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.4198, allocations: 29.25 kB / 0.5877 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.4203, allocations: 205.3 kB / 0.5879 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4204, allocations: 0.6935 MB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.4205, allocations: 8.734 kB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.4205, allocations: 22.45 kB / 0.5886 GB, free: 21.62 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4205, allocations: 0 / 0.5886 GB, free: 21.62 MB / 446.1 MB Notification: Performance of Templates: time 0.004123/0.4247, allocations: 1.431 MB / 0.59 GB, free: 20.95 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)