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.005649/0.005649, allocations: 102 kB / 15.73 MB, free: 6.051 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.001337/0.001337, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8263/0.8263, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.25 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002427/0.1698, allocations: 1.483 MB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6007/0.7705, allocations: 132.1 MB / 0.795 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.7706, allocations: 1.219 kB / 0.795 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.7707, allocations: 6.375 kB / 0.795 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.7708, allocations: 16.52 kB / 0.7951 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.7712, allocations: 68.61 kB / 0.7951 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.7714, allocations: 53.09 kB / 0.7952 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.7715, allocations: 18.09 kB / 0.7952 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.7716, allocations: 21.2 kB / 0.7952 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.7716, allocations: 28.31 kB / 0.7952 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.7716, allocations: 8.625 kB / 0.7953 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.7717, allocations: 16.06 kB / 0.7953 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.7718, allocations: 7.188 kB / 0.7953 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.7718, allocations: 22.44 kB / 0.7953 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.772, allocations: 57.06 kB / 0.7954 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.772, allocations: 1.469 kB / 0.7954 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.772, allocations: 0 / 0.7954 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.772, allocations: 0 / 0.7954 GB, free: 12.93 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.0006199/0.7726, allocations: 380.8 kB / 0.7957 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7727, allocations: 11.2 kB / 0.7957 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.7728, allocations: 6.406 kB / 0.7957 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.7729, allocations: 182.1 kB / 0.7959 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.773, allocations: 1.688 kB / 0.7959 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.773, allocations: 7.391 kB / 0.7959 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.7733, allocations: 70.34 kB / 0.796 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7733, allocations: 192 / 0.796 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7733, allocations: 11.06 kB / 0.796 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7733, allocations: 1.094 kB / 0.796 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.7736, allocations: 67.88 kB / 0.7961 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.7742, allocations: 285.3 kB / 0.7963 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.7744, allocations: 58.64 kB / 0.7964 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.7746, allocations: 36.69 kB / 0.7964 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.7748, allocations: 89.73 kB / 0.7965 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.7748, allocations: 31.69 kB / 0.7965 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.7748, allocations: 4 kB / 0.7965 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005733/0.7754, allocations: 134.4 kB / 0.7967 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.7755, allocations: 52.72 kB / 0.7967 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.7756, allocations: 117.4 kB / 0.7968 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.7756, allocations: 26.83 kB / 0.7969 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.7757, allocations: 99.31 kB / 0.797 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.7757, allocations: 11.34 kB / 0.797 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.7757, allocations: 16.56 kB / 0.797 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7759, allocations: 317.8 kB / 0.7973 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.776, allocations: 29.77 kB / 0.7973 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.7762, allocations: 44.25 kB / 0.7974 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.7765, allocations: 68.38 kB / 0.7974 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7765, allocations: 3.938 kB / 0.7974 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.7768, allocations: 93.56 kB / 0.7975 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7768, allocations: 14.28 kB / 0.7975 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7769, allocations: 0 / 0.7975 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7769, allocations: 3.938 kB / 0.7975 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.777, allocations: 18.41 kB / 0.7975 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.777, allocations: 1.219 kB / 0.7975 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-05/0.7771, allocations: 15.5 kB / 0.7976 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.7771, allocations: 2.781 kB / 0.7976 GB, free: 11.14 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 0.0001025/0.7773, allocations: 116.1 kB / 0.7977 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.7773, allocations: 11.98 kB / 0.7977 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.7777, allocations: 108 kB / 0.7978 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7777, allocations: 1.594 kB / 0.7978 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7778, allocations: 0 / 0.7978 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7778, allocations: 1.281 kB / 0.7978 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.778, allocations: 169.9 kB / 0.798 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7781, allocations: 6.484 kB / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7782, allocations: 14.34 kB / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.7782, allocations: 5.172 kB / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7782, allocations: 0 / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7782, allocations: 1.094 kB / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7782, allocations: 0 / 0.798 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.7787, allocations: 209.4 kB / 0.7982 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.7788, allocations: 79.58 kB / 0.7983 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.7788, allocations: 0 / 0.7983 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.7789, allocations: 11.25 kB / 0.7983 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.779, allocations: 4.375 kB / 0.7983 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.779, allocations: 3.609 kB / 0.7983 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.7791, allocations: 93.59 kB / 0.7984 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7791, allocations: 4 kB / 0.7984 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002734/0.7794, allocations: 12.72 kB / 0.7984 GB, free: 10.45 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.0002536/0.7797, allocations: 105.9 kB / 0.7985 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.7801, allocations: 73.05 kB / 0.7985 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7801, allocations: 1.375 kB / 0.7986 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.7803, allocations: 41.27 kB / 0.7986 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.7807, allocations: 21.67 kB / 0.7986 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.7813, allocations: 160.8 kB / 0.7988 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.7817, allocations: 0.6879 MB / 0.7994 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.691e-05/0.7818, allocations: 2.062 kB / 0.7994 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.7818, allocations: 10.66 kB / 0.7994 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/0.7818, allocations: 0 / 0.7994 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of Templates: time 0.004113/0.786, allocations: 0.9942 MB / 0.8004 GB, free: 9.438 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)