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.001303/0.001303, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001413/0.001413, allocations: 187 kB / 17.34 MB, free: 5.734 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8074/0.8074, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.78 kB / 0.582 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 80.21 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002219/0.1386, allocations: 1.262 MB / 0.6616 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.479/0.6176, allocations: 132 MB / 0.7905 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.6177, allocations: 0 / 0.7905 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.6178, allocations: 2.156 kB / 0.7905 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.6178, allocations: 5.75 kB / 0.7905 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.6182, allocations: 57.34 kB / 0.7906 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.6183, allocations: 26.36 kB / 0.7906 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.6184, allocations: 5.562 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.6184, allocations: 10.84 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.6185, allocations: 9.312 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.6185, allocations: 1.094 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.6186, allocations: 13.5 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.6186, allocations: 5.328 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.6186, allocations: 9.062 kB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.6187, allocations: 28.81 kB / 0.7907 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6188, allocations: 0 / 0.7907 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6188, allocations: 0 / 0.7907 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.6188, allocations: 0 / 0.7907 GB, free: 13.4 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.0004043/0.6192, allocations: 335.4 kB / 0.791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6192, allocations: 9.125 kB / 0.791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.6193, allocations: 7.219 kB / 0.791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6194, allocations: 163.7 kB / 0.7912 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.6195, allocations: 33.58 kB / 0.7912 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.6195, allocations: 5.031 kB / 0.7912 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.6196, allocations: 36.95 kB / 0.7912 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6196, allocations: 7.938 kB / 0.7912 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.6196, allocations: 1.25 kB / 0.7912 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6196, allocations: 0 / 0.7912 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.6197, allocations: 15.86 kB / 0.7913 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.6199, allocations: 154.3 kB / 0.7914 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.62, allocations: 32.34 kB / 0.7914 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.62, allocations: 16.03 kB / 0.7914 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.6202, allocations: 93.67 kB / 0.7915 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6202, allocations: 32.16 kB / 0.7916 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6202, allocations: 0 / 0.7916 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002318/0.6205, allocations: 69.08 kB / 0.7916 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.6205, allocations: 51.41 kB / 0.7917 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.6206, allocations: 100.3 kB / 0.7918 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.6206, allocations: 25.7 kB / 0.7918 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.6207, allocations: 81.11 kB / 0.7919 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.6207, allocations: 12.12 kB / 0.7919 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.6207, allocations: 18.61 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6208, allocations: 319.5 kB / 0.7922 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.6209, allocations: 7.297 kB / 0.7922 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.6209, allocations: 11.12 kB / 0.7922 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.939e-05/0.621, allocations: 27.17 kB / 0.7923 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.621, allocations: 0 / 0.7923 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000119/0.6212, allocations: 49.69 kB / 0.7923 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6212, allocations: 9.781 kB / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6212, allocations: 0 / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6212, allocations: 0 / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.6213, allocations: 8.438 kB / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6213, allocations: 3.938 kB / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.6213, allocations: 1.812 kB / 0.7923 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6213, allocations: 5.094 kB / 0.7923 GB, free: 11.7 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 6.674e-05/0.6214, allocations: 108.9 kB / 0.7924 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.6214, allocations: 4.875 kB / 0.7924 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.6216, allocations: 58.3 kB / 0.7925 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6216, allocations: 1.562 kB / 0.7925 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6216, allocations: 0 / 0.7925 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6216, allocations: 1.062 kB / 0.7925 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.6217, allocations: 152.3 kB / 0.7926 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6217, allocations: 5.781 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.6218, allocations: 5.031 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6218, allocations: 3.938 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.6218, allocations: 3.484 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6218, allocations: 4.969 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6218, allocations: 3.625 kB / 0.7927 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.622, allocations: 71.53 kB / 0.7927 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.622, allocations: 89.28 kB / 0.7928 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.622, allocations: 5.844 kB / 0.7928 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.6221, allocations: 2.156 kB / 0.7928 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.6221, allocations: 5.031 kB / 0.7928 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.6221, allocations: 1.406 kB / 0.7928 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.6222, allocations: 84.53 kB / 0.7929 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6222, allocations: 0 / 0.7929 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001942/0.6224, allocations: 12.53 kB / 0.7929 GB, free: 11.09 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.000151/0.6225, allocations: 116.4 kB / 0.793 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.6227, allocations: 22.52 kB / 0.7931 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6227, allocations: 3.938 kB / 0.7931 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.6228, allocations: 11.19 kB / 0.7931 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.623, allocations: 5.984 kB / 0.7931 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.6233, allocations: 163.4 kB / 0.7932 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.6236, allocations: 0.6813 MB / 0.7939 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.6236, allocations: 9.688 kB / 0.7939 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6236, allocations: 1.125 kB / 0.7939 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.001827/0.6254, allocations: 0.5674 MB / 0.7945 GB, free: 10.11 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)