Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001662/0.001662, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.001839/0.001839, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.64 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 80.19 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002282/0.1412, allocations: 1.279 MB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4633/0.6045, allocations: 132 MB / 0.7905 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.6046, allocations: 0 / 0.7905 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.6047, allocations: 7.766 kB / 0.7905 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.6047, allocations: 5.062 kB / 0.7905 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.6051, allocations: 58.53 kB / 0.7906 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.6052, allocations: 22.42 kB / 0.7906 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.6053, allocations: 2.188 kB / 0.7906 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.6053, allocations: 12.02 kB / 0.7906 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.6054, allocations: 8.5 kB / 0.7906 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.6054, allocations: 4 kB / 0.7906 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.6055, allocations: 15.66 kB / 0.7906 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.6055, allocations: 4.75 kB / 0.7906 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.6056, allocations: 7.562 kB / 0.7906 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.6057, allocations: 24.28 kB / 0.7907 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6057, allocations: 1.25 kB / 0.7907 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6057, allocations: 0 / 0.7907 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6057, allocations: 0 / 0.7907 GB, free: 13.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004219/0.6061, allocations: 333.9 kB / 0.791 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6062, allocations: 13.72 kB / 0.791 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.6062, allocations: 6.875 kB / 0.791 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.6064, allocations: 161.5 kB / 0.7912 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.6064, allocations: 30.69 kB / 0.7912 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.6065, allocations: 2.188 kB / 0.7912 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6066, allocations: 47.39 kB / 0.7912 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6066, allocations: 3.938 kB / 0.7912 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6066, allocations: 1.281 kB / 0.7912 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6066, allocations: 0 / 0.7912 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.6067, allocations: 17.36 kB / 0.7913 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.6069, allocations: 158.5 kB / 0.7914 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.607, allocations: 29.36 kB / 0.7914 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.6071, allocations: 15.7 kB / 0.7914 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.6072, allocations: 88.53 kB / 0.7915 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6073, allocations: 38.5 kB / 0.7916 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.6073, allocations: 5.141 kB / 0.7916 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002594/0.6076, allocations: 57.62 kB / 0.7916 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6076, allocations: 53.56 kB / 0.7917 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.6077, allocations: 97.33 kB / 0.7918 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6077, allocations: 28.19 kB / 0.7918 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.6078, allocations: 80.14 kB / 0.7919 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.6078, allocations: 17.47 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6078, allocations: 17.38 kB / 0.7919 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.6079, allocations: 316.3 kB / 0.7922 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.608, allocations: 6.125 kB / 0.7922 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.608, allocations: 10.41 kB / 0.7922 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.6081, allocations: 21.03 kB / 0.7922 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6081, allocations: 0 / 0.7922 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.6083, allocations: 52.91 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6083, allocations: 9.719 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6083, allocations: 0 / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6083, allocations: 1.344 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.6084, allocations: 9.938 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6084, allocations: 1.25 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.6084, allocations: 1.406 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.6085, allocations: 3.953 kB / 0.7923 GB, free: 11.69 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 7.487e-05/0.6085, allocations: 116.1 kB / 0.7924 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.6086, allocations: 6.531 kB / 0.7924 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.6087, allocations: 55.78 kB / 0.7925 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.6087, allocations: 0 / 0.7925 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6088, allocations: 5.281 kB / 0.7925 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6088, allocations: 3.938 kB / 0.7925 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.6089, allocations: 153.7 kB / 0.7926 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6089, allocations: 0 / 0.7926 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.6089, allocations: 7.234 kB / 0.7927 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6089, allocations: 5.219 kB / 0.7927 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.609, allocations: 7.875 kB / 0.7927 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.609, allocations: 0 / 0.7927 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.609, allocations: 1.312 kB / 0.7927 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.6091, allocations: 77.62 kB / 0.7927 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.6092, allocations: 85.61 kB / 0.7928 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.6092, allocations: 3.938 kB / 0.7928 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.6093, allocations: 2.125 kB / 0.7928 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.6093, allocations: 7.484 kB / 0.7928 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6093, allocations: 4.203 kB / 0.7928 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.6094, allocations: 82.42 kB / 0.7929 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6094, allocations: 0 / 0.7929 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002036/0.6096, allocations: 12.31 kB / 0.7929 GB, free: 11.06 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.000156/0.6097, allocations: 106.3 kB / 0.793 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.6099, allocations: 24.48 kB / 0.7931 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6099, allocations: 4 kB / 0.7931 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.61, allocations: 12.83 kB / 0.7931 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.6102, allocations: 7.938 kB / 0.7931 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.6105, allocations: 153 kB / 0.7932 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.6107, allocations: 0.6749 MB / 0.7939 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.6108, allocations: 10.09 kB / 0.7939 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of SimCode: time 2.595e-06/0.6108, allocations: 4 kB / 0.7939 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.002023/0.6128, allocations: 0.5767 MB / 0.7945 GB, free: 10.08 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)