Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007507/0.007507, allocations: 106.8 kB / 15.74 MB, free: 5.996 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.001692/0.001693, allocations: 191 kB / 16.67 MB, free: 5.926 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8337/0.8337, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 65.06 kB / 0.5856 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1715, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002952/0.1745, allocations: 1.483 MB / 0.6661 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5564/0.7309, allocations: 132.1 MB / 0.795 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.731, allocations: 1.125 kB / 0.795 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.7311, allocations: 5.812 kB / 0.7951 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.7312, allocations: 14.09 kB / 0.7951 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.7317, allocations: 71.14 kB / 0.7951 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7318, allocations: 49.53 kB / 0.7952 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.7319, allocations: 14.66 kB / 0.7952 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.7319, allocations: 19.97 kB / 0.7952 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.732, allocations: 26.12 kB / 0.7952 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.732, allocations: 4.531 kB / 0.7952 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.7321, allocations: 21.03 kB / 0.7953 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.7322, allocations: 14.28 kB / 0.7953 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.7322, allocations: 24.7 kB / 0.7953 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.7324, allocations: 53.36 kB / 0.7954 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.7324, allocations: 1.219 kB / 0.7954 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7324, allocations: 3.938 kB / 0.7954 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.7324, allocations: 0 / 0.7954 GB, free: 12.96 MB / 0.5919 GB 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.0005633/0.733, allocations: 378.4 kB / 0.7957 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.733, allocations: 10.92 kB / 0.7957 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.7331, allocations: 11.19 kB / 0.7957 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7332, allocations: 173.4 kB / 0.7959 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.7332, allocations: 4.719 kB / 0.7959 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.7332, allocations: 6.609 kB / 0.7959 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.7335, allocations: 77.69 kB / 0.796 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7335, allocations: 192 / 0.796 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.7335, allocations: 8.719 kB / 0.796 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7335, allocations: 1.125 kB / 0.796 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.7338, allocations: 68.95 kB / 0.7961 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.7343, allocations: 281.8 kB / 0.7963 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.7345, allocations: 62.56 kB / 0.7964 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.7346, allocations: 35.77 kB / 0.7964 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.7348, allocations: 93.06 kB / 0.7965 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.7348, allocations: 31.62 kB / 0.7965 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.7348, allocations: 0 / 0.7965 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005199/0.7354, allocations: 140 kB / 0.7967 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.7354, allocations: 52.53 kB / 0.7967 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7355, allocations: 115.2 kB / 0.7968 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7356, allocations: 25.7 kB / 0.7969 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.7356, allocations: 96.03 kB / 0.797 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.7356, allocations: 12.88 kB / 0.797 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.7357, allocations: 15.59 kB / 0.797 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7358, allocations: 321.8 kB / 0.7973 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.736, allocations: 29.86 kB / 0.7973 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.7361, allocations: 30.53 kB / 0.7973 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.7363, allocations: 73.03 kB / 0.7974 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7363, allocations: 1.094 kB / 0.7974 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002891/0.7366, allocations: 97.64 kB / 0.7975 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7367, allocations: 8.625 kB / 0.7975 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7367, allocations: 5.125 kB / 0.7975 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7367, allocations: 0 / 0.7975 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.7368, allocations: 19.42 kB / 0.7975 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7368, allocations: 0 / 0.7975 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.7369, allocations: 16.2 kB / 0.7976 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.7369, allocations: 4.281 kB / 0.7976 GB, free: 11.18 MB / 0.5919 GB 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 7.536e-05/0.737, allocations: 112 kB / 0.7977 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.737, allocations: 6.375 kB / 0.7977 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.7374, allocations: 111.7 kB / 0.7978 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7374, allocations: 1.531 kB / 0.7978 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7374, allocations: 3.938 kB / 0.7978 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.7374, allocations: 0 / 0.7978 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.7376, allocations: 172.7 kB / 0.798 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7376, allocations: 1.75 kB / 0.798 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.7377, allocations: 24.06 kB / 0.798 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7377, allocations: 0 / 0.798 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7377, allocations: 1.188 kB / 0.798 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7377, allocations: 6.875 kB / 0.798 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7377, allocations: 1.094 kB / 0.798 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.7381, allocations: 201.7 kB / 0.7982 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.7381, allocations: 78.23 kB / 0.7983 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.7382, allocations: 4.344 kB / 0.7983 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.7383, allocations: 11 kB / 0.7983 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.7383, allocations: 4.656 kB / 0.7983 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.7383, allocations: 1.094 kB / 0.7983 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.7384, allocations: 96.12 kB / 0.7984 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7384, allocations: 3.938 kB / 0.7984 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002275/0.7386, allocations: 15.25 kB / 0.7984 GB, free: 10.49 MB / 0.5919 GB 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.0001717/0.7388, allocations: 105.6 kB / 0.7985 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7391, allocations: 69.23 kB / 0.7985 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7391, allocations: 0 / 0.7985 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.7393, allocations: 43.81 kB / 0.7986 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.7396, allocations: 15.14 kB / 0.7986 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.74, allocations: 164.5 kB / 0.7988 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.7402, allocations: 0.6819 MB / 0.7994 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.7403, allocations: 11.56 kB / 0.7994 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.7403, allocations: 9.781 kB / 0.7994 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7403, allocations: 0 / 0.7994 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.004124/0.7445, allocations: 0.9915 MB / 0.8004 GB, free: 9.48 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)