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.00111/0.00111, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001095/0.001095, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7998/0.7998, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 61.73 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1645, allocations: 80.92 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002467/0.167, allocations: 1.498 MB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5238/0.6908, allocations: 132.1 MB / 0.7957 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.6909, allocations: 1.312 kB / 0.7957 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.691, allocations: 3.938 kB / 0.7957 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.6911, allocations: 7.141 kB / 0.7957 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.6915, allocations: 72.86 kB / 0.7958 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.6916, allocations: 52.34 kB / 0.7958 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.6917, allocations: 17.69 kB / 0.7959 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.6918, allocations: 18.12 kB / 0.7959 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.6918, allocations: 29.28 kB / 0.7959 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.6919, allocations: 4.594 kB / 0.7959 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.692, allocations: 19.89 kB / 0.7959 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.692, allocations: 13.25 kB / 0.7959 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.692, allocations: 24.38 kB / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.6922, allocations: 56.88 kB / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6922, allocations: 4 kB / 0.796 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6922, allocations: 0 / 0.796 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6922, allocations: 0 / 0.796 GB, free: 12.97 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.0005182/0.6927, allocations: 377.7 kB / 0.7964 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6928, allocations: 11.98 kB / 0.7964 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.6928, allocations: 7.125 kB / 0.7964 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.6929, allocations: 169.9 kB / 0.7966 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.693, allocations: 1.625 kB / 0.7966 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.693, allocations: 10.16 kB / 0.7966 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.6933, allocations: 74.03 kB / 0.7966 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6933, allocations: 192 / 0.7966 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6933, allocations: 7.531 kB / 0.7967 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6933, allocations: 1.125 kB / 0.7967 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.6936, allocations: 69.61 kB / 0.7967 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.694, allocations: 283.8 kB / 0.797 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.6942, allocations: 59.73 kB / 0.797 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6944, allocations: 39.27 kB / 0.7971 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.6945, allocations: 91.69 kB / 0.7972 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.6946, allocations: 34.91 kB / 0.7972 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6946, allocations: 0 / 0.7972 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005632/0.6951, allocations: 134.3 kB / 0.7973 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.6952, allocations: 55.34 kB / 0.7974 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.6953, allocations: 117.8 kB / 0.7975 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6953, allocations: 25.7 kB / 0.7975 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.6953, allocations: 91.27 kB / 0.7976 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.6954, allocations: 14.8 kB / 0.7976 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.6954, allocations: 12.22 kB / 0.7976 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.6955, allocations: 330 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.6957, allocations: 29.75 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.6958, allocations: 30.89 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.6961, allocations: 67.08 kB / 0.7981 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6961, allocations: 4 kB / 0.7981 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003254/0.6964, allocations: 105 kB / 0.7982 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6964, allocations: 5.25 kB / 0.7982 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6965, allocations: 3.25 kB / 0.7982 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6965, allocations: 1.062 kB / 0.7982 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.6966, allocations: 16.8 kB / 0.7982 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6966, allocations: 5.312 kB / 0.7982 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.6967, allocations: 14.89 kB / 0.7982 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6967, allocations: 1.125 kB / 0.7982 GB, free: 11.19 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.249e-05/0.6968, allocations: 115.6 kB / 0.7983 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.6968, allocations: 6.281 kB / 0.7983 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.6972, allocations: 116.4 kB / 0.7985 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6972, allocations: 0 / 0.7985 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6972, allocations: 1.094 kB / 0.7985 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.6972, allocations: 0 / 0.7985 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.6974, allocations: 176.6 kB / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6974, allocations: 0 / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/0.6975, allocations: 17.91 kB / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6975, allocations: 0 / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6975, allocations: 1.219 kB / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6976, allocations: 4 kB / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6976, allocations: 0.7812 kB / 0.7986 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.6979, allocations: 197.2 kB / 0.7988 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.698, allocations: 79.33 kB / 0.7989 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.698, allocations: 0 / 0.7989 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.6981, allocations: 18.47 kB / 0.7989 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.6982, allocations: 4.812 kB / 0.7989 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.6982, allocations: 1.188 kB / 0.7989 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.6982, allocations: 96.3 kB / 0.799 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6983, allocations: 3.938 kB / 0.799 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002419/0.6985, allocations: 11.62 kB / 0.799 GB, free: 10.51 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.000144/0.6986, allocations: 112.6 kB / 0.7991 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.699, allocations: 70.41 kB / 0.7992 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.699, allocations: 0 / 0.7992 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.6992, allocations: 37.47 kB / 0.7992 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.6995, allocations: 16.27 kB / 0.7993 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.6999, allocations: 192 kB / 0.7994 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.7002, allocations: 0.6826 MB / 0.8001 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.7002, allocations: 14.62 kB / 0.8001 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.7002, allocations: 1.125 kB / 0.8001 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of Templates: time 0.002543/0.7028, allocations: 0.9314 MB / 0.801 GB, free: 9.484 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)