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.006504/0.006504, allocations: 102.6 kB / 15.74 MB, free: 5.508 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.001224/0.001224, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.459, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002612/0.4617, allocations: 1.488 MB / 0.6661 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.6112, allocations: 132.1 MB / 0.7951 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.6113, allocations: 0 / 0.7951 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.6114, allocations: 3.938 kB / 0.7951 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.6115, allocations: 7.875 kB / 0.7951 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.6119, allocations: 71.72 kB / 0.7951 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.612, allocations: 55.67 kB / 0.7952 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.6122, allocations: 19.5 kB / 0.7952 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.6123, allocations: 23.86 kB / 0.7952 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.6123, allocations: 23.91 kB / 0.7953 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.6123, allocations: 8 kB / 0.7953 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.6124, allocations: 12 kB / 0.7953 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6125, allocations: 19.92 kB / 0.7953 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.6125, allocations: 19.92 kB / 0.7953 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.6127, allocations: 57.5 kB / 0.7954 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6127, allocations: 0 / 0.7954 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6127, allocations: 0 / 0.7954 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6127, allocations: 0 / 0.7954 GB, free: 11.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006035/0.6133, allocations: 375.2 kB / 0.7957 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6134, allocations: 8.031 kB / 0.7957 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.6134, allocations: 12.89 kB / 0.7958 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.6137, allocations: 180.2 kB / 0.7959 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6137, allocations: 4.375 kB / 0.7959 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6137, allocations: 384 / 0.7959 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.614, allocations: 70.22 kB / 0.796 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.614, allocations: 192 / 0.796 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.614, allocations: 7.938 kB / 0.796 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.614, allocations: 0 / 0.796 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.6144, allocations: 71.92 kB / 0.7961 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.615, allocations: 288.7 kB / 0.7963 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.6153, allocations: 58.53 kB / 0.7964 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6154, allocations: 36.92 kB / 0.7964 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.6156, allocations: 89.09 kB / 0.7965 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.6157, allocations: 34.56 kB / 0.7966 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.6157, allocations: 3.938 kB / 0.7966 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0006318/0.6163, allocations: 137.5 kB / 0.7967 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.6164, allocations: 51.41 kB / 0.7967 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.6165, allocations: 117.8 kB / 0.7969 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.6166, allocations: 25.7 kB / 0.7969 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.6166, allocations: 88.12 kB / 0.797 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.6167, allocations: 19.84 kB / 0.797 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.6167, allocations: 13.72 kB / 0.797 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6169, allocations: 322.8 kB / 0.7973 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6171, allocations: 31.95 kB / 0.7973 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.6172, allocations: 31.97 kB / 0.7974 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.6175, allocations: 68.78 kB / 0.7974 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6175, allocations: 0 / 0.7974 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000355/0.6179, allocations: 101.8 kB / 0.7975 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6179, allocations: 4 kB / 0.7975 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6179, allocations: 0 / 0.7975 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.618, allocations: 12.02 kB / 0.7975 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.6181, allocations: 15.98 kB / 0.7976 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6181, allocations: 0 / 0.7976 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.6182, allocations: 11.98 kB / 0.7976 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.6182, allocations: 0 / 0.7976 GB, free: 8.777 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 8.445e-05/0.6183, allocations: 117.8 kB / 0.7977 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.6183, allocations: 3.953 kB / 0.7977 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.6187, allocations: 117.4 kB / 0.7978 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6187, allocations: 0 / 0.7978 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6187, allocations: 0 / 0.7978 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6187, allocations: 3.938 kB / 0.7978 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.619, allocations: 173.6 kB / 0.798 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.619, allocations: 0 / 0.798 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.6191, allocations: 15.97 kB / 0.798 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6191, allocations: 8 kB / 0.798 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6191, allocations: 4 kB / 0.798 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6191, allocations: 0 / 0.798 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6191, allocations: 3.938 kB / 0.798 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.6195, allocations: 195.4 kB / 0.7982 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6195, allocations: 89.09 kB / 0.7983 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6196, allocations: 3.938 kB / 0.7983 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.6197, allocations: 11.98 kB / 0.7983 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.6198, allocations: 0 / 0.7983 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.6198, allocations: 0 / 0.7983 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.6198, allocations: 99.7 kB / 0.7984 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6199, allocations: 0 / 0.7984 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002382/0.6201, allocations: 19.89 kB / 0.7984 GB, free: 7.824 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.0001772/0.6203, allocations: 108.6 kB / 0.7985 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.6207, allocations: 67.92 kB / 0.7986 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6207, allocations: 0 / 0.7986 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6208, allocations: 39.89 kB / 0.7986 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.6212, allocations: 21.97 kB / 0.7986 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.6216, allocations: 155.8 kB / 0.7988 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.622, allocations: 0.6846 MB / 0.7994 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.622, allocations: 8 kB / 0.7994 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.6221, allocations: 11.44 kB / 0.7995 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6221, allocations: 0 / 0.7995 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.003996/0.6261, allocations: 0.9942 MB / 0.8004 GB, free: 5.691 MB / 0.6231 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)