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.00108/0.001081, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001084/0.001084, allocations: 187 kB / 17.34 MB, free: 5.742 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7723/0.7723, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 69.14 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 80.91 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002676/0.1432, allocations: 1.5 MB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4877/0.6309, allocations: 132.1 MB / 0.7957 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.631, allocations: 1.188 kB / 0.7957 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.6311, allocations: 3.938 kB / 0.7957 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.6312, allocations: 11.19 kB / 0.7957 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.6317, allocations: 73.36 kB / 0.7958 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.6318, allocations: 52.56 kB / 0.7958 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.6319, allocations: 15.97 kB / 0.7959 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.632, allocations: 23.23 kB / 0.7959 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.632, allocations: 27.12 kB / 0.7959 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.632, allocations: 3.312 kB / 0.7959 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.6321, allocations: 16.25 kB / 0.7959 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.6322, allocations: 9.328 kB / 0.7959 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.6322, allocations: 27.94 kB / 0.796 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.6324, allocations: 61.11 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6324, allocations: 0 / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6324, allocations: 1.188 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.6324, allocations: 0 / 0.796 GB, free: 12.95 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.0005972/0.633, allocations: 379.3 kB / 0.7964 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6331, allocations: 10.33 kB / 0.7964 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.6331, allocations: 7.094 kB / 0.7964 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.6332, allocations: 177.4 kB / 0.7966 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6333, allocations: 1.719 kB / 0.7966 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.6333, allocations: 2.906 kB / 0.7966 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.6335, allocations: 73.39 kB / 0.7966 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6336, allocations: 1.469 kB / 0.7966 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.6336, allocations: 3.938 kB / 0.7966 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.6336, allocations: 1.156 kB / 0.7966 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.6339, allocations: 71.83 kB / 0.7967 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.6343, allocations: 287.5 kB / 0.797 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.6345, allocations: 53.12 kB / 0.797 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.6347, allocations: 43.23 kB / 0.7971 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.6348, allocations: 89.31 kB / 0.7972 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6349, allocations: 31.88 kB / 0.7972 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6349, allocations: 0 / 0.7972 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005245/0.6354, allocations: 137.6 kB / 0.7973 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6354, allocations: 55.5 kB / 0.7974 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.6355, allocations: 116.2 kB / 0.7975 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6356, allocations: 25.7 kB / 0.7975 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.6356, allocations: 92.92 kB / 0.7976 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.6357, allocations: 12.62 kB / 0.7976 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.6357, allocations: 19.16 kB / 0.7976 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6358, allocations: 319.6 kB / 0.7979 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.6359, allocations: 32.58 kB / 0.798 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.6361, allocations: 33.77 kB / 0.798 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.6363, allocations: 75.64 kB / 0.7981 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6363, allocations: 0 / 0.7981 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.6367, allocations: 100.9 kB / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6367, allocations: 7.344 kB / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6367, allocations: 0 / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6367, allocations: 4 kB / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6368, allocations: 16.19 kB / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.6369, allocations: 0 / 0.7982 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.6369, allocations: 17.31 kB / 0.7982 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.637, allocations: 2.25 kB / 0.7982 GB, free: 11.16 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.827e-05/0.637, allocations: 116.6 kB / 0.7983 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.6371, allocations: 6.344 kB / 0.7983 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.6374, allocations: 112.5 kB / 0.7984 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6374, allocations: 0 / 0.7984 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6375, allocations: 1.062 kB / 0.7984 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6375, allocations: 0 / 0.7984 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6376, allocations: 178.2 kB / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6376, allocations: 0 / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.6377, allocations: 18.34 kB / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.6378, allocations: 4 kB / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6378, allocations: 3.734 kB / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6378, allocations: 0 / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6378, allocations: 5.188 kB / 0.7986 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.6381, allocations: 195.4 kB / 0.7988 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.6382, allocations: 88.95 kB / 0.7989 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.6382, allocations: 0 / 0.7989 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6383, allocations: 11.97 kB / 0.7989 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.6384, allocations: 7.672 kB / 0.7989 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.6384, allocations: 1.156 kB / 0.7989 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.6384, allocations: 90.59 kB / 0.799 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6385, allocations: 0 / 0.799 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002392/0.6387, allocations: 16.72 kB / 0.799 GB, free: 10.48 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.0001997/0.6389, allocations: 115.5 kB / 0.7991 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.6392, allocations: 66.78 kB / 0.7992 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6392, allocations: 0 / 0.7992 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.6394, allocations: 42.55 kB / 0.7993 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.0003074/0.6397, allocations: 13.75 kB / 0.7993 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.6401, allocations: 190.4 kB / 0.7994 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6403, allocations: 0.6814 MB / 0.8001 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.6404, allocations: 11.31 kB / 0.8001 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.6404, allocations: 0 / 0.8001 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of Templates: time 0.002358/0.6427, allocations: 0.938 MB / 0.801 GB, free: 9.457 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)