Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009642/0.0009642, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8553/0.8553, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 12 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 82.3 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001154/0.1504, allocations: 0.9822 MB / 0.5882 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3584/0.5089, allocations: 111.9 MB / 0.6975 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.509, allocations: 0 / 0.6975 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.509, allocations: 0.75 kB / 0.6975 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.5091, allocations: 9.781 kB / 0.6975 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.5094, allocations: 40.92 kB / 0.6975 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.5095, allocations: 20.3 kB / 0.6975 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.5095, allocations: 2.062 kB / 0.6975 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.5096, allocations: 11.03 kB / 0.6975 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.5096, allocations: 9.734 kB / 0.6976 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.5097, allocations: 1.062 kB / 0.6976 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.5097, allocations: 22.58 kB / 0.6976 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.5098, allocations: 2.75 kB / 0.6976 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.5098, allocations: 27.73 kB / 0.6976 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.094e-05/0.5099, allocations: 24.47 kB / 0.6976 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5099, allocations: 3.656 kB / 0.6976 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5099, allocations: 0 / 0.6976 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5099, allocations: 0 / 0.6976 GB, free: 11.72 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003788/0.5103, allocations: 331 kB / 0.6979 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5103, allocations: 8.438 kB / 0.698 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.5104, allocations: 1.781 kB / 0.698 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5105, allocations: 165.8 kB / 0.6981 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.5106, allocations: 37.02 kB / 0.6981 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5106, allocations: 1.312 kB / 0.6981 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5107, allocations: 40.98 kB / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5107, allocations: 1.938 kB / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.5108, allocations: 0 / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5108, allocations: 4 kB / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.24e-05/0.5109, allocations: 15.98 kB / 0.6982 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.511, allocations: 157.7 kB / 0.6984 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.5111, allocations: 29.02 kB / 0.6984 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.5113, allocations: 89.88 kB / 0.6985 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5114, allocations: 34.56 kB / 0.6985 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.5114, allocations: 0 / 0.6985 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002393/0.5116, allocations: 59.61 kB / 0.6986 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.5117, allocations: 52.16 kB / 0.6986 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.5118, allocations: 99.72 kB / 0.6987 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5118, allocations: 25.7 kB / 0.6987 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.5118, allocations: 80.66 kB / 0.6988 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.5118, allocations: 9.875 kB / 0.6988 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5118, allocations: 4 kB / 0.6988 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.512, allocations: 321.6 kB / 0.6991 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.512, allocations: 6.422 kB / 0.6991 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.5121, allocations: 5.703 kB / 0.6991 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.5121, allocations: 15.31 kB / 0.6992 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5121, allocations: 0 / 0.6992 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.5122, allocations: 52.89 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5123, allocations: 4.5 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5123, allocations: 5.797 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5123, allocations: 1.375 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.5124, allocations: 5.953 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5124, allocations: 0 / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.5124, allocations: 2.297 kB / 0.6992 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5124, allocations: 2.594 kB / 0.6992 GB, free: 10.04 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.5125, allocations: 118.4 kB / 0.6993 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.5125, allocations: 1.859 kB / 0.6993 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.5127, allocations: 66.27 kB / 0.6994 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5127, allocations: 4.938 kB / 0.6994 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5127, allocations: 0.5156 kB / 0.6994 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5127, allocations: 0 / 0.6994 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.5128, allocations: 158.2 kB / 0.6996 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5128, allocations: 0.5625 kB / 0.6996 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.5128, allocations: 11.02 kB / 0.6996 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5129, allocations: 0 / 0.6996 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5129, allocations: 0.5156 kB / 0.6996 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5129, allocations: 4.25 kB / 0.6996 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5129, allocations: 4.516 kB / 0.6996 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.513, allocations: 77.39 kB / 0.6997 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.5131, allocations: 85.06 kB / 0.6997 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5131, allocations: 5.188 kB / 0.6997 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.5131, allocations: 1.875 kB / 0.6997 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.5132, allocations: 2.766 kB / 0.6997 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.5132, allocations: 6.031 kB / 0.6998 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.5132, allocations: 79.16 kB / 0.6998 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5132, allocations: 0 / 0.6998 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001818/0.5134, allocations: 12.38 kB / 0.6998 GB, free: 9.402 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.5136, allocations: 105.2 kB / 0.6999 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5137, allocations: 20.88 kB / 0.7 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5137, allocations: 0 / 0.7 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.5138, allocations: 25.38 kB / 0.7 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.514, allocations: 5.5 kB / 0.7 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.5142, allocations: 143.2 kB / 0.7001 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.5144, allocations: 0.6814 MB / 0.7008 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.375e-05/0.5145, allocations: 11.91 kB / 0.7008 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.5145, allocations: 8.75 kB / 0.7008 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.5145, allocations: 0 / 0.7008 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.002325/0.5168, allocations: 464.8 kB / 0.7013 GB, free: 8.398 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: