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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008626/0.008627, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001804/0.001804, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8721/0.8721, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.17 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2058, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002669/0.2085, allocations: 1.259 MB / 0.6604 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5559/0.7644, allocations: 132 MB / 0.7894 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.7644, allocations: 0 / 0.7894 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.7645, allocations: 0 / 0.7894 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.7646, allocations: 8.594 kB / 0.7894 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.7649, allocations: 55.97 kB / 0.7894 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.765, allocations: 25.44 kB / 0.7894 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.7651, allocations: 3.812 kB / 0.7894 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.7651, allocations: 7.891 kB / 0.7895 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.7652, allocations: 14.14 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7652, allocations: 0 / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.7653, allocations: 13.16 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.7653, allocations: 6.281 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.7653, allocations: 7.859 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.7654, allocations: 30.2 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.7654, allocations: 0 / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7655, allocations: 1.094 kB / 0.7895 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.7655, allocations: 1.188 kB / 0.7895 GB, free: 13.12 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.0006226/0.7661, allocations: 341 kB / 0.7898 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.7662, allocations: 13.09 kB / 0.7899 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.7662, allocations: 31.88 kB / 0.7899 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.7662, allocations: 4.656 kB / 0.7899 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.7664, allocations: 166.3 kB / 0.7901 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.7665, allocations: 31.42 kB / 0.7901 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.7666, allocations: 1.375 kB / 0.7901 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.7667, allocations: 45.33 kB / 0.7901 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7667, allocations: 0 / 0.7901 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7668, allocations: 1.062 kB / 0.7901 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7668, allocations: 4 kB / 0.7901 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.41e-05/0.7669, allocations: 12.39 kB / 0.7901 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.7671, allocations: 155.8 kB / 0.7903 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.7672, allocations: 30.7 kB / 0.7903 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.7673, allocations: 16.7 kB / 0.7903 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.7675, allocations: 92.08 kB / 0.7904 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.7675, allocations: 35.84 kB / 0.7905 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7676, allocations: 1.203 kB / 0.7905 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002512/0.7678, allocations: 64.61 kB / 0.7905 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.7679, allocations: 52.78 kB / 0.7906 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.7679, allocations: 95.08 kB / 0.7907 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.768, allocations: 29.39 kB / 0.7907 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.768, allocations: 85.17 kB / 0.7908 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.768, allocations: 10.95 kB / 0.7908 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.7681, allocations: 16.78 kB / 0.7908 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7682, allocations: 314.8 kB / 0.7911 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.7683, allocations: 7.312 kB / 0.7911 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.7683, allocations: 9.531 kB / 0.7911 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.7684, allocations: 23.75 kB / 0.7911 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7684, allocations: 5.156 kB / 0.7911 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001271/0.7686, allocations: 51.06 kB / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7686, allocations: 9.406 kB / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7686, allocations: 0 / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7686, allocations: 1.219 kB / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.7687, allocations: 7.656 kB / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7687, allocations: 0 / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.7687, allocations: 10.05 kB / 0.7912 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7687, allocations: 3.625 kB / 0.7912 GB, free: 11.38 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 0.0001001/0.7689, allocations: 117.8 kB / 0.7913 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.7689, allocations: 10.09 kB / 0.7913 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.7691, allocations: 59.44 kB / 0.7914 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7691, allocations: 1.344 kB / 0.7914 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7691, allocations: 0 / 0.7914 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7691, allocations: 0 / 0.7914 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.7692, allocations: 153.8 kB / 0.7916 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7692, allocations: 3.938 kB / 0.7916 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.7693, allocations: 9.125 kB / 0.7916 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7693, allocations: 5.25 kB / 0.7916 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.7693, allocations: 5.312 kB / 0.7916 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7693, allocations: 1.25 kB / 0.7916 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7693, allocations: 0 / 0.7916 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.7695, allocations: 68.14 kB / 0.7916 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.7695, allocations: 84.86 kB / 0.7917 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.7696, allocations: 6.812 kB / 0.7917 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.7696, allocations: 5.156 kB / 0.7917 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.7696, allocations: 6 kB / 0.7917 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.7696, allocations: 0 / 0.7917 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.7697, allocations: 80.56 kB / 0.7918 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7697, allocations: 0 / 0.7918 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001892/0.7699, allocations: 11.84 kB / 0.7918 GB, free: 10.77 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.0005279/0.7704, allocations: 0.6281 MB / 0.7924 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.7706, allocations: 24.94 kB / 0.7925 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.7706, allocations: 0 / 0.7925 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.7707, allocations: 9.125 kB / 0.7925 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7709, allocations: 10 kB / 0.7925 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.7713, allocations: 162 kB / 0.7926 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.7716, allocations: 0.6754 MB / 0.7933 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.7717, allocations: 1.562 kB / 0.7933 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.7717, allocations: 13.16 kB / 0.7933 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.7717, allocations: 0 / 0.7933 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.7939, allocations: 1.364 MB / 0.7946 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.799, allocations: 10.62 kB / 0.7947 GB, free: 8.961 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)