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.00723/0.00723, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.001669/0.001669, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9903/0.9903, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 55.91 kB / 0.5856 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4613, allocations: 80.92 MB / 0.6646 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001799/0.4631, allocations: 1.271 MB / 0.6659 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.6478, allocations: 132 MB / 0.7948 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.6479, allocations: 0 / 0.7948 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.648, allocations: 7.922 kB / 0.7948 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.6481, allocations: 3.938 kB / 0.7948 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.6485, allocations: 59.72 kB / 0.7949 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.677e-05/0.6486, allocations: 19.92 kB / 0.7949 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.6487, allocations: 0 / 0.7949 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.6487, allocations: 19.94 kB / 0.7949 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.6488, allocations: 11.92 kB / 0.7949 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.6488, allocations: 0 / 0.7949 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.6489, allocations: 12 kB / 0.7949 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.649, allocations: 3.984 kB / 0.7949 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.649, allocations: 7.938 kB / 0.795 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.6491, allocations: 27.77 kB / 0.795 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.6491, allocations: 0 / 0.795 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6491, allocations: 0 / 0.795 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6491, allocations: 0 / 0.795 GB, free: 11.61 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.0004583/0.6496, allocations: 341 kB / 0.7953 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6497, allocations: 12.03 kB / 0.7953 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.6497, allocations: 4.875 kB / 0.7953 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.6498, allocations: 164.4 kB / 0.7955 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.6499, allocations: 30.27 kB / 0.7955 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.6499, allocations: 8.312 kB / 0.7955 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.6501, allocations: 42.19 kB / 0.7956 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.6501, allocations: 3.938 kB / 0.7956 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.6501, allocations: 0 / 0.7956 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6501, allocations: 4 kB / 0.7956 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.6502, allocations: 15.98 kB / 0.7956 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.6504, allocations: 153.7 kB / 0.7957 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.6505, allocations: 26.58 kB / 0.7958 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.6505, allocations: 16.94 kB / 0.7958 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.6507, allocations: 97.03 kB / 0.7959 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6507, allocations: 30.56 kB / 0.7959 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.6507, allocations: 0 / 0.7959 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002384/0.651, allocations: 65.75 kB / 0.796 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.651, allocations: 55.41 kB / 0.796 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.6511, allocations: 93.84 kB / 0.7961 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.6511, allocations: 25.7 kB / 0.7961 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.6512, allocations: 88.14 kB / 0.7962 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.6512, allocations: 7.953 kB / 0.7962 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.6512, allocations: 17.7 kB / 0.7962 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6513, allocations: 310.8 kB / 0.7965 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.6514, allocations: 8 kB / 0.7965 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.6514, allocations: 15.92 kB / 0.7965 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/0.6515, allocations: 24.84 kB / 0.7966 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6516, allocations: 4 kB / 0.7966 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001146/0.6517, allocations: 45.69 kB / 0.7966 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6517, allocations: 14.12 kB / 0.7966 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6517, allocations: 0 / 0.7966 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6517, allocations: 0 / 0.7966 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.6518, allocations: 4 kB / 0.7966 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6518, allocations: 0 / 0.7966 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.6519, allocations: 7.984 kB / 0.7966 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6519, allocations: 0 / 0.7966 GB, free: 9.668 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 7.805e-05/0.652, allocations: 120.6 kB / 0.7968 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.652, allocations: 11.89 kB / 0.7968 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.6522, allocations: 53.17 kB / 0.7968 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6522, allocations: 0 / 0.7968 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6522, allocations: 3.938 kB / 0.7968 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6522, allocations: 0 / 0.7968 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6523, allocations: 157.6 kB / 0.797 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6524, allocations: 3.938 kB / 0.797 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.6524, allocations: 8 kB / 0.797 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6524, allocations: 7.938 kB / 0.797 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.6524, allocations: 0 / 0.797 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6524, allocations: 0 / 0.797 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6524, allocations: 0 / 0.797 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.6526, allocations: 81.05 kB / 0.7971 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.6527, allocations: 77.11 kB / 0.7971 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6527, allocations: 7.938 kB / 0.7972 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.6527, allocations: 7.984 kB / 0.7972 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.6528, allocations: 0 / 0.7972 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.6528, allocations: 4 kB / 0.7972 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.6528, allocations: 75.7 kB / 0.7972 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6528, allocations: 0 / 0.7972 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001923/0.653, allocations: 12 kB / 0.7972 GB, free: 8.941 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.0001975/0.6532, allocations: 115.3 kB / 0.7974 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.6534, allocations: 31.91 kB / 0.7974 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6534, allocations: 0 / 0.7974 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.6535, allocations: 11.98 kB / 0.7974 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6538, allocations: 8 kB / 0.7974 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.6541, allocations: 127.6 kB / 0.7975 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.6544, allocations: 0.6729 MB / 0.7982 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.6544, allocations: 7.938 kB / 0.7982 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.6544, allocations: 11.44 kB / 0.7982 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.6544, allocations: 0 / 0.7982 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.002675/0.6571, allocations: 0.5223 MB / 0.7987 GB, free: 7.379 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)