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.0008501/0.00085, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 15.94 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 82.32 MB / 0.5874 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001475/0.1911, allocations: 0.9784 MB / 0.5883 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4429/0.634, allocations: 119.6 MB / 0.7051 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.6341, allocations: 0 / 0.7051 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.6341, allocations: 0 / 0.7051 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.6342, allocations: 5.344 kB / 0.7051 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.6345, allocations: 44.3 kB / 0.7052 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.6346, allocations: 16 kB / 0.7052 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.6347, allocations: 4.312 kB / 0.7052 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.6347, allocations: 12.14 kB / 0.7052 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.6348, allocations: 9.531 kB / 0.7052 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.6348, allocations: 7.531 kB / 0.7052 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.6349, allocations: 19.42 kB / 0.7053 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.6349, allocations: 0.6562 kB / 0.7053 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.6349, allocations: 25.7 kB / 0.7053 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.508e-05/0.635, allocations: 17.66 kB / 0.7053 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.635, allocations: 0 / 0.7053 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.627e-06/0.635, allocations: 0 / 0.7053 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.635, allocations: 7.281 kB / 0.7053 GB, free: 5.551 MB / 0.5294 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.0004032/0.6354, allocations: 328 kB / 0.7056 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6355, allocations: 11.62 kB / 0.7056 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.6355, allocations: 3.844 kB / 0.7056 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6357, allocations: 164.1 kB / 0.7058 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.6358, allocations: 28.14 kB / 0.7058 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.6358, allocations: 1.75 kB / 0.7058 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.6359, allocations: 45.44 kB / 0.7059 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6359, allocations: 1.812 kB / 0.7059 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.636, allocations: 0 / 0.7059 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.636, allocations: 0 / 0.7059 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.636, allocations: 15.48 kB / 0.7059 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.6362, allocations: 157.9 kB / 0.706 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6364, allocations: 33.48 kB / 0.7061 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.6364, allocations: 15.91 kB / 0.7061 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.6366, allocations: 90.81 kB / 0.7062 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6366, allocations: 39.11 kB / 0.7062 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6366, allocations: 0 / 0.7062 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002319/0.6369, allocations: 57.02 kB / 0.7062 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.6369, allocations: 52.84 kB / 0.7063 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.637, allocations: 99.95 kB / 0.7064 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.637, allocations: 25.7 kB / 0.7064 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.6371, allocations: 80.14 kB / 0.7065 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.6371, allocations: 19.05 kB / 0.7065 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6371, allocations: 1.562 kB / 0.7065 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6372, allocations: 315.3 kB / 0.7068 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.6373, allocations: 6.625 kB / 0.7068 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.6373, allocations: 6.828 kB / 0.7068 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.6374, allocations: 12.92 kB / 0.7068 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6374, allocations: 1.5 kB / 0.7068 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001168/0.6375, allocations: 48.11 kB / 0.7069 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6375, allocations: 8.75 kB / 0.7069 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6375, allocations: 1.891 kB / 0.7069 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6376, allocations: 0 / 0.7069 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.6376, allocations: 7.391 kB / 0.7069 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6377, allocations: 3.938 kB / 0.7069 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.6377, allocations: 2.219 kB / 0.7069 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6377, allocations: 1.469 kB / 0.7069 GB, free: 3.852 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.6378, allocations: 116.3 kB / 0.707 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.6378, allocations: 1.531 kB / 0.707 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.638, allocations: 64.95 kB / 0.7071 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.638, allocations: 0.5625 kB / 0.7071 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.638, allocations: 1.344 kB / 0.7071 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.638, allocations: 0.75 kB / 0.7071 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.6381, allocations: 160.6 kB / 0.7072 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6381, allocations: 0 / 0.7072 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.6382, allocations: 7.5 kB / 0.7073 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6382, allocations: 0 / 0.7073 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6382, allocations: 1.312 kB / 0.7073 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6382, allocations: 4.656 kB / 0.7073 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6382, allocations: 4.25 kB / 0.7073 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.6384, allocations: 85.8 kB / 0.7073 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.6384, allocations: 80.7 kB / 0.7074 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6385, allocations: 3.75 kB / 0.7074 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.6385, allocations: 2.125 kB / 0.7074 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.6385, allocations: 6.406 kB / 0.7074 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.6386, allocations: 5.375 kB / 0.7074 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.6386, allocations: 79.08 kB / 0.7075 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6386, allocations: 0 / 0.7075 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001903/0.6388, allocations: 8.75 kB / 0.7075 GB, free: 3.219 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.639, allocations: 113.9 kB / 0.7076 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.6391, allocations: 16 kB / 0.7076 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6391, allocations: 0 / 0.7076 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.6392, allocations: 22 kB / 0.7077 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.6394, allocations: 4.031 kB / 0.7077 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.6397, allocations: 147 kB / 0.7078 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.64, allocations: 0.6769 MB / 0.7085 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.64, allocations: 7.109 kB / 0.7085 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.64, allocations: 8.625 kB / 0.7085 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.64, allocations: 0 / 0.7085 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of Templates: time 0.002882/0.6429, allocations: 472.6 kB / 0.7089 GB, free: 2.219 MB / 0.5294 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)