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.001151/0.001152, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.424/1.424, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.1 MB / 425.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4814, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002956/0.4844, allocations: 1.27 MB / 0.6659 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.6428, allocations: 132 MB / 0.7948 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.6429, allocations: 4 kB / 0.7948 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.643, allocations: 3.938 kB / 0.7948 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.643, allocations: 7.922 kB / 0.7948 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.6435, allocations: 59.72 kB / 0.7949 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.6436, allocations: 23.92 kB / 0.7949 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.6436, allocations: 0 / 0.7949 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.6437, allocations: 7.938 kB / 0.7949 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.6438, allocations: 15.92 kB / 0.7949 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.6438, allocations: 4 kB / 0.7949 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.6439, allocations: 16 kB / 0.7949 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.6439, allocations: 3.984 kB / 0.7949 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.6439, allocations: 7.938 kB / 0.7949 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.6441, allocations: 27.62 kB / 0.795 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6441, allocations: 0 / 0.795 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6441, allocations: 0 / 0.795 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.6441, allocations: 0 / 0.795 GB, free: 11.71 MB / 0.6231 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.000417/0.6445, allocations: 333.7 kB / 0.7953 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6446, allocations: 8.031 kB / 0.7953 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.6446, allocations: 12.94 kB / 0.7953 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6447, allocations: 174.2 kB / 0.7955 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.6448, allocations: 30.27 kB / 0.7955 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.6449, allocations: 4.312 kB / 0.7955 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.645, allocations: 46.19 kB / 0.7956 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.645, allocations: 3.938 kB / 0.7956 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.645, allocations: 0 / 0.7956 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6451, allocations: 0 / 0.7956 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.6451, allocations: 11.98 kB / 0.7956 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.6454, allocations: 157.7 kB / 0.7957 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.6455, allocations: 26.58 kB / 0.7957 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.6455, allocations: 16.94 kB / 0.7958 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6457, allocations: 93.09 kB / 0.7958 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.6458, allocations: 38.5 kB / 0.7959 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 3.988e-06/0.6458, allocations: 3.984 kB / 0.7959 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002794/0.6461, allocations: 53.62 kB / 0.7959 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6461, allocations: 55.39 kB / 0.796 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6462, allocations: 97.86 kB / 0.7961 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6463, allocations: 25.7 kB / 0.7961 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.6463, allocations: 84.14 kB / 0.7962 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.6464, allocations: 7.844 kB / 0.7962 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.6465, allocations: 25.7 kB / 0.7962 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6466, allocations: 310.8 kB / 0.7965 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.6467, allocations: 4 kB / 0.7965 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.6467, allocations: 15.92 kB / 0.7965 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.169e-05/0.6468, allocations: 24.84 kB / 0.7966 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6468, allocations: 0 / 0.7966 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/0.647, allocations: 45.69 kB / 0.7966 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.647, allocations: 15.94 kB / 0.7966 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.647, allocations: 0 / 0.7966 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.647, allocations: 0 / 0.7966 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.6471, allocations: 4 kB / 0.7966 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6471, allocations: 0 / 0.7966 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.6472, allocations: 11.89 kB / 0.7966 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.6472, allocations: 0 / 0.7966 GB, free: 9.762 MB / 0.6231 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 9.892e-05/0.6473, allocations: 112.6 kB / 0.7967 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.6473, allocations: 7.938 kB / 0.7968 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.6475, allocations: 65.11 kB / 0.7968 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6475, allocations: 0 / 0.7968 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6475, allocations: 0 / 0.7968 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6475, allocations: 0 / 0.7968 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.6477, allocations: 153.7 kB / 0.797 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6477, allocations: 0 / 0.797 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.6477, allocations: 8 kB / 0.797 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6477, allocations: 3.938 kB / 0.797 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6478, allocations: 3.938 kB / 0.797 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6478, allocations: 0 / 0.797 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6478, allocations: 8 kB / 0.797 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.6479, allocations: 77.61 kB / 0.7971 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.648, allocations: 77.11 kB / 0.7971 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.648, allocations: 7.938 kB / 0.7971 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-05/0.6481, allocations: 7.984 kB / 0.7971 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.6481, allocations: 0 / 0.7971 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.6481, allocations: 48 / 0.7971 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.6482, allocations: 87.27 kB / 0.7972 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6482, allocations: 0 / 0.7972 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001989/0.6484, allocations: 12 kB / 0.7972 GB, free: 9.035 MB / 0.6231 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.0002007/0.6486, allocations: 107.2 kB / 0.7973 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.6488, allocations: 23.92 kB / 0.7974 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6488, allocations: 0 / 0.7974 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.6488, allocations: 19.98 kB / 0.7974 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.6491, allocations: 8 kB / 0.7974 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.6495, allocations: 135.5 kB / 0.7975 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.6498, allocations: 0.6729 MB / 0.7982 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.6498, allocations: 8 kB / 0.7982 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.6499, allocations: 11.38 kB / 0.7982 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.6499, allocations: 0 / 0.7982 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of Templates: time 0.002818/0.6527, allocations: 0.5178 MB / 0.7987 GB, free: 7.477 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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)