Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 105.3 kB / 15.99 MB, free: 6.352 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.001323/0.001323, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.2 MB / 425.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 80.93 MB / 0.5846 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002338/0.3303, allocations: 1.56 MB / 0.5861 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002576/0.3306, allocations: 121.5 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.3306, allocations: 1.781 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3307, allocations: 0 / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.3307, allocations: 10.02 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.331, allocations: 65.77 kB / 0.5863 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.3311, allocations: 54.41 kB / 0.5863 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3312, allocations: 24.02 kB / 0.5864 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.3313, allocations: 28.17 kB / 0.5864 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.3313, allocations: 21.98 kB / 0.5864 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3314, allocations: 9.656 kB / 0.5864 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.3314, allocations: 5.625 kB / 0.5864 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.3314, allocations: 15.36 kB / 0.5864 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3314, allocations: 29.66 kB / 0.5865 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.669e-05/0.3315, allocations: 30.84 kB / 0.5865 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3315, allocations: 1.312 kB / 0.5865 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3315, allocations: 0 / 0.5865 GB, free: 23.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3315, allocations: 0 / 0.5865 GB, free: 23.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004282/0.332, allocations: 382.6 kB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.332, allocations: 11.17 kB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.332, allocations: 5.125 kB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.733e-05/0.3321, allocations: 170.9 kB / 0.587 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.3322, allocations: 30.23 kB / 0.5871 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3322, allocations: 4.5 kB / 0.5871 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3324, allocations: 81.16 kB / 0.5871 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3324, allocations: 3.938 kB / 0.5871 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3325, allocations: 5.906 kB / 0.5872 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3325, allocations: 5.812 kB / 0.5872 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3326, allocations: 47.39 kB / 0.5872 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.3332, allocations: 315.8 kB / 0.5875 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3333, allocations: 53.86 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.3334, allocations: 32.2 kB / 0.5876 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3334, allocations: 0.625 kB / 0.5876 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3334, allocations: 32.97 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3334, allocations: 3.938 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003262/0.3338, allocations: 96.14 kB / 0.5877 GB, free: 22.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.3338, allocations: 52.69 kB / 0.5878 GB, free: 22.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.3339, allocations: 112.2 kB / 0.5879 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3339, allocations: 27.58 kB / 0.5879 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.3339, allocations: 94.91 kB / 0.588 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.3339, allocations: 13.09 kB / 0.588 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.334, allocations: 17.19 kB / 0.588 GB, free: 22.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.334, allocations: 322 kB / 0.5883 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3341, allocations: 22.52 kB / 0.5883 GB, free: 21.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.3342, allocations: 34.53 kB / 0.5884 GB, free: 21.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3344, allocations: 58.67 kB / 0.5884 GB, free: 21.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3344, allocations: 2.188 kB / 0.5884 GB, free: 21.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002063/0.3346, allocations: 86.94 kB / 0.5885 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3346, allocations: 5.812 kB / 0.5885 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3346, allocations: 1.75 kB / 0.5885 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3346, allocations: 1.188 kB / 0.5885 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.3347, allocations: 17.17 kB / 0.5885 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3348, allocations: 1.312 kB / 0.5885 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.3348, allocations: 9.047 kB / 0.5886 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3348, allocations: 1.562 kB / 0.5886 GB, free: 21.62 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 (5): * Single equations (assignments): 5 * 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.32e-05/0.3349, allocations: 121.5 kB / 0.5887 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3349, allocations: 6.625 kB / 0.5887 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.3349, allocations: 7.375 kB / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.335, allocations: 5.406 kB / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.335, allocations: 0 / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.335, allocations: 3.984 kB / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3351, allocations: 179.7 kB / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3351, allocations: 1.062 kB / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.68e-05/0.3352, allocations: 12.98 kB / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3352, allocations: 0 / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3352, allocations: 2.531 kB / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3352, allocations: 0 / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3352, allocations: 0 / 0.5889 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3354, allocations: 179.8 kB / 0.5891 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3354, allocations: 87.17 kB / 0.5891 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3355, allocations: 6.938 kB / 0.5891 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3356, allocations: 10.17 kB / 0.5891 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3356, allocations: 5.25 kB / 0.5892 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3357, allocations: 6.578 kB / 0.5892 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.764e-05/0.3357, allocations: 87.03 kB / 0.5892 GB, free: 20.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 0.5892 GB, free: 20.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3359, allocations: 8.031 kB / 0.5893 GB, free: 20.9 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 8.034e-05/0.336, allocations: 103.3 kB / 0.5893 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.3362, allocations: 56.58 kB / 0.5894 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3362, allocations: 0 / 0.5894 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.3363, allocations: 29.55 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3366, allocations: 3.312 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.3369, allocations: 177.9 kB / 0.5896 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.337, allocations: 0.6833 MB / 0.5903 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.3371, allocations: 8.969 kB / 0.5903 GB, free: 19.89 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3371, allocations: 0.5625 kB / 0.5903 GB, free: 19.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002379/0.3395, allocations: 0.8483 MB / 0.5911 GB, free: 19.48 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)