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.001126/0.001126, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001545/0.001545, allocations: 193.7 kB / 16.26 MB, free: 6.152 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.77 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1978, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002594/0.2005, allocations: 1.325 MB / 0.5852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.434/0.6345, allocations: 130.1 MB / 0.7122 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.6346, allocations: 5.281 kB / 0.7122 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.6347, allocations: 4.75 kB / 0.7122 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.6347, allocations: 3.234 kB / 0.7122 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.6351, allocations: 47.83 kB / 0.7122 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.6352, allocations: 25.06 kB / 0.7123 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.6352, allocations: 6.125 kB / 0.7123 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.6353, allocations: 10.23 kB / 0.7123 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.6353, allocations: 10.02 kB / 0.7123 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.6354, allocations: 1.438 kB / 0.7123 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.6354, allocations: 13.38 kB / 0.7123 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.6354, allocations: 2.75 kB / 0.7123 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.6355, allocations: 12.91 kB / 0.7123 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6356, allocations: 29.06 kB / 0.7124 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.6356, allocations: 1.281 kB / 0.7124 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6356, allocations: 0 / 0.7124 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6356, allocations: 0 / 0.7124 GB, free: 13.59 MB / 0.545 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.0003624/0.636, allocations: 332.3 kB / 0.7127 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.636, allocations: 11.69 kB / 0.7127 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.6361, allocations: 5.062 kB / 0.7127 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.6362, allocations: 166.6 kB / 0.7128 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.6362, allocations: 33.81 kB / 0.7129 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.6363, allocations: 1.688 kB / 0.7129 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.6364, allocations: 45 kB / 0.7129 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.6364, allocations: 3.938 kB / 0.7129 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.6364, allocations: 0 / 0.7129 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6364, allocations: 1.219 kB / 0.7129 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.405e-05/0.6365, allocations: 19.06 kB / 0.7129 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.6367, allocations: 152.9 kB / 0.7131 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.6368, allocations: 33.44 kB / 0.7131 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.6368, allocations: 16.44 kB / 0.7131 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.637, allocations: 89.41 kB / 0.7132 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.637, allocations: 31.31 kB / 0.7133 GB, free: 12.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.637, allocations: 5.406 kB / 0.7133 GB, free: 12.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.6373, allocations: 73.25 kB / 0.7133 GB, free: 12.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.6373, allocations: 53.2 kB / 0.7134 GB, free: 12.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.6374, allocations: 94.86 kB / 0.7135 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.6374, allocations: 26.5 kB / 0.7135 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.6374, allocations: 81.33 kB / 0.7136 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.6374, allocations: 13.64 kB / 0.7136 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.6375, allocations: 13.28 kB / 0.7136 GB, free: 12.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.6376, allocations: 317.8 kB / 0.7139 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.6376, allocations: 10.19 kB / 0.7139 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.6377, allocations: 5.922 kB / 0.7139 GB, free: 11.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.6378, allocations: 22.53 kB / 0.7139 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6378, allocations: 0 / 0.7139 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/0.6379, allocations: 57.27 kB / 0.714 GB, free: 11.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6379, allocations: 9.562 kB / 0.714 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6379, allocations: 0.6094 kB / 0.714 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.638, allocations: 4 kB / 0.714 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.638, allocations: 6.5 kB / 0.714 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.638, allocations: 1.281 kB / 0.714 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.6381, allocations: 1.922 kB / 0.714 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.6381, allocations: 2.078 kB / 0.714 GB, free: 11.84 MB / 0.545 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.132e-05/0.6382, allocations: 107.7 kB / 0.7141 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.6382, allocations: 9.312 kB / 0.7141 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.6384, allocations: 61.75 kB / 0.7142 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6384, allocations: 0.6562 kB / 0.7142 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6384, allocations: 1.156 kB / 0.7142 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6384, allocations: 0.5 kB / 0.7142 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.6385, allocations: 157.5 kB / 0.7143 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6385, allocations: 0 / 0.7143 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.6385, allocations: 7.016 kB / 0.7143 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6386, allocations: 5.828 kB / 0.7144 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6386, allocations: 0 / 0.7144 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6386, allocations: 0.7969 kB / 0.7144 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6386, allocations: 5.281 kB / 0.7144 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.6387, allocations: 77.8 kB / 0.7144 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.6388, allocations: 83.69 kB / 0.7145 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6388, allocations: 4.547 kB / 0.7145 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.6388, allocations: 5.562 kB / 0.7145 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.6389, allocations: 3.281 kB / 0.7145 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6389, allocations: 1.734 kB / 0.7145 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.6389, allocations: 82.59 kB / 0.7146 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6389, allocations: 0 / 0.7146 GB, free: 11.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002066/0.6391, allocations: 20.97 kB / 0.7146 GB, free: 11.21 MB / 0.545 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.0001499/0.6393, allocations: 105.3 kB / 0.7147 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.6395, allocations: 22.28 kB / 0.7147 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6395, allocations: 0 / 0.7147 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.6395, allocations: 13.19 kB / 0.7148 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6398, allocations: 9.891 kB / 0.7148 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.6401, allocations: 132 kB / 0.7149 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6403, allocations: 0.6756 MB / 0.7156 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.6404, allocations: 7.359 kB / 0.7156 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.6404, allocations: 12.72 kB / 0.7156 GB, free: 10.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.6404, allocations: 1.375 kB / 0.7156 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Templates: time 0.002731/0.6431, allocations: 0.4993 MB / 0.7161 GB, free: 10.21 MB / 0.545 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)