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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.00562/0.00562, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001172/0.001172, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8727/0.8727, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.42 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1685, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002801/0.1714, allocations: 1.487 MB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5954/0.7669, allocations: 132.1 MB / 0.7901 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.767, allocations: 1.656 kB / 0.7901 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.7671, allocations: 9.688 kB / 0.7901 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.7672, allocations: 14.86 kB / 0.7901 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.7677, allocations: 67.41 kB / 0.7902 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.7679, allocations: 54.3 kB / 0.7902 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.768, allocations: 18.77 kB / 0.7902 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.7681, allocations: 20.16 kB / 0.7903 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.7682, allocations: 27.02 kB / 0.7903 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.7682, allocations: 3.844 kB / 0.7903 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.7683, allocations: 17.75 kB / 0.7903 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.7684, allocations: 11.33 kB / 0.7903 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.7684, allocations: 21.98 kB / 0.7903 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.7686, allocations: 55.2 kB / 0.7904 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7686, allocations: 0 / 0.7904 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7686, allocations: 4 kB / 0.7904 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.7687, allocations: 0 / 0.7904 GB, free: 13.37 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.0006351/0.7693, allocations: 373 kB / 0.7907 GB, free: 13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7694, allocations: 9.75 kB / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.7694, allocations: 13.59 kB / 0.7908 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.7696, allocations: 176.8 kB / 0.7909 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.7696, allocations: 1.125 kB / 0.7909 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.7696, allocations: 1.969 kB / 0.7909 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.7699, allocations: 84.08 kB / 0.791 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7699, allocations: 192 / 0.791 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.77, allocations: 5.125 kB / 0.791 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.77, allocations: 6.609 kB / 0.791 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.7703, allocations: 66.67 kB / 0.7911 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.7707, allocations: 292.3 kB / 0.7914 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.771, allocations: 52.84 kB / 0.7914 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.7711, allocations: 37.8 kB / 0.7915 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.7713, allocations: 92.27 kB / 0.7915 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7714, allocations: 37.14 kB / 0.7916 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7714, allocations: 0 / 0.7916 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005905/0.772, allocations: 130.8 kB / 0.7917 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.772, allocations: 52.5 kB / 0.7918 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.7722, allocations: 115.3 kB / 0.7919 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7722, allocations: 25.7 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.7723, allocations: 96.47 kB / 0.792 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.7723, allocations: 12.34 kB / 0.792 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.7724, allocations: 15.53 kB / 0.792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7725, allocations: 319.5 kB / 0.7923 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7727, allocations: 36.55 kB / 0.7923 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.7728, allocations: 30.78 kB / 0.7924 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.7731, allocations: 66.62 kB / 0.7924 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7731, allocations: 4 kB / 0.7924 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003328/0.7735, allocations: 101.8 kB / 0.7925 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7735, allocations: 5.344 kB / 0.7925 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7735, allocations: 0 / 0.7925 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7735, allocations: 0 / 0.7925 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7737, allocations: 17.28 kB / 0.7926 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7737, allocations: 1.062 kB / 0.7926 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.7738, allocations: 23.69 kB / 0.7926 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.7738, allocations: 3.938 kB / 0.7926 GB, free: 11.58 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 9.947e-05/0.7739, allocations: 115.7 kB / 0.7927 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.7739, allocations: 6.938 kB / 0.7927 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.7743, allocations: 112.2 kB / 0.7928 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7743, allocations: 1.094 kB / 0.7928 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7743, allocations: 0 / 0.7928 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7743, allocations: 1.156 kB / 0.7928 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.7745, allocations: 174.3 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7745, allocations: 1.062 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.7746, allocations: 17.14 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7746, allocations: 1.156 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7747, allocations: 4.5 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7747, allocations: 1.031 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7747, allocations: 4 kB / 0.793 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.7751, allocations: 205.3 kB / 0.7932 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.7751, allocations: 78.67 kB / 0.7933 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7751, allocations: 1.125 kB / 0.7933 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.7753, allocations: 15.16 kB / 0.7933 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.7753, allocations: 9.938 kB / 0.7933 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.7753, allocations: 1.25 kB / 0.7933 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.7754, allocations: 92.8 kB / 0.7934 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7754, allocations: 0 / 0.7934 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002406/0.7756, allocations: 11.28 kB / 0.7934 GB, free: 10.89 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.0002035/0.7758, allocations: 105.2 kB / 0.7935 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.7762, allocations: 72.88 kB / 0.7936 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7762, allocations: 1.156 kB / 0.7936 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.7764, allocations: 37.11 kB / 0.7936 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.7768, allocations: 14.66 kB / 0.7936 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.7772, allocations: 163.7 kB / 0.7938 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.7775, allocations: 0.6846 MB / 0.7945 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.7775, allocations: 3.344 kB / 0.7945 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.7775, allocations: 13.28 kB / 0.7945 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7775, allocations: 1.156 kB / 0.7945 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of Templates: time 0.003449/0.781, allocations: 1.006 MB / 0.7955 GB, free: 9.867 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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)