Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008037/0.0008037, 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.0008505/0.0008505, 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8597/0.8597, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001534/0.1609, allocations: 1.186 MB / 0.5884 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3626/0.5235, allocations: 112 MB / 0.6977 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.5236, allocations: 5.312 kB / 0.6977 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.5237, allocations: 4.594 kB / 0.6977 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.5238, allocations: 11.86 kB / 0.6977 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.5242, allocations: 51.47 kB / 0.6978 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.5243, allocations: 35.77 kB / 0.6978 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.5244, allocations: 11.05 kB / 0.6978 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.5244, allocations: 19.03 kB / 0.6978 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.5245, allocations: 24.83 kB / 0.6979 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.5245, allocations: 2.5 kB / 0.6979 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.5246, allocations: 19.06 kB / 0.6979 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.5246, allocations: 7.656 kB / 0.6979 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.5247, allocations: 33.48 kB / 0.6979 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.5248, allocations: 36.94 kB / 0.698 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5248, allocations: 0 / 0.698 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5248, allocations: 0 / 0.698 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5248, allocations: 1.375 kB / 0.698 GB, free: 11.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005162/0.5253, allocations: 388 kB / 0.6983 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5254, allocations: 8.688 kB / 0.6983 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.5254, allocations: 2.781 kB / 0.6983 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.5256, allocations: 173.5 kB / 0.6985 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.5256, allocations: 1.188 kB / 0.6985 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.5256, allocations: 3 kB / 0.6985 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.5259, allocations: 91 kB / 0.6986 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5259, allocations: 0 / 0.6986 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5259, allocations: 4.75 kB / 0.6986 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5259, allocations: 1.031 kB / 0.6986 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.5263, allocations: 89.72 kB / 0.6987 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.5267, allocations: 286.5 kB / 0.699 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.5269, allocations: 64.75 kB / 0.699 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.527, allocations: 94.11 kB / 0.6991 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5271, allocations: 31.22 kB / 0.6991 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.5271, allocations: 1.344 kB / 0.6991 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005466/0.5276, allocations: 172.2 kB / 0.6993 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.5277, allocations: 61.58 kB / 0.6994 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.5277, allocations: 121.6 kB / 0.6995 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.5278, allocations: 25.7 kB / 0.6995 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.5278, allocations: 92.22 kB / 0.6996 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.5278, allocations: 6.156 kB / 0.6996 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5278, allocations: 0 / 0.6996 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.5279, allocations: 317.4 kB / 0.6999 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5281, allocations: 45.2 kB / 0.6999 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5282, allocations: 37.2 kB / 0.7 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.5284, allocations: 43.75 kB / 0.7 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.5284, allocations: 1.344 kB / 0.7 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003434/0.5287, allocations: 130.2 kB / 0.7001 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5288, allocations: 5.5 kB / 0.7002 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5288, allocations: 0 / 0.7002 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5288, allocations: 1.375 kB / 0.7002 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5289, allocations: 24.8 kB / 0.7002 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5289, allocations: 3.953 kB / 0.7002 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.529, allocations: 17.12 kB / 0.7002 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.529, allocations: 1.406 kB / 0.7002 GB, free: 9.684 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 7.072e-05/0.5291, allocations: 112.1 kB / 0.7003 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.5291, allocations: 10.59 kB / 0.7003 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.5295, allocations: 126.8 kB / 0.7004 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5295, allocations: 0 / 0.7004 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5296, allocations: 3.938 kB / 0.7004 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5296, allocations: 6.016 kB / 0.7004 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.5297, allocations: 169.8 kB / 0.7006 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5298, allocations: 0 / 0.7006 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.5299, allocations: 28.58 kB / 0.7006 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5299, allocations: 1.562 kB / 0.7006 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5299, allocations: 0.7969 kB / 0.7006 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5299, allocations: 0 / 0.7006 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5299, allocations: 1.438 kB / 0.7006 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.5303, allocations: 217.7 kB / 0.7008 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.5303, allocations: 83.72 kB / 0.7009 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5303, allocations: 1.531 kB / 0.7009 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5305, allocations: 28.92 kB / 0.701 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5305, allocations: 7.641 kB / 0.701 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.5305, allocations: 1.5 kB / 0.701 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.5306, allocations: 91.14 kB / 0.701 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5306, allocations: 5.094 kB / 0.7011 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000214/0.5308, allocations: 11.34 kB / 0.7011 GB, free: 8.961 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.0001308/0.5309, allocations: 116.3 kB / 0.7012 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.5313, allocations: 90.48 kB / 0.7013 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5313, allocations: 1.344 kB / 0.7013 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.5314, allocations: 44.55 kB / 0.7013 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.5316, allocations: 17.41 kB / 0.7013 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.532, allocations: 177.2 kB / 0.7015 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.5322, allocations: 0.6871 MB / 0.7022 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.5322, allocations: 11.12 kB / 0.7022 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.5323, allocations: 10.84 kB / 0.7022 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5323, allocations: 0 / 0.7022 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of Templates: time 0.002804/0.5351, allocations: 0.8033 MB / 0.703 GB, free: 7.914 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: