Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.006693/0.006693, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.00178/0.00178, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8296/0.8296, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 70.52 kB / 0.5851 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002769/0.1624, allocations: 1.494 MB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5598/0.7222, allocations: 132.1 MB / 0.7946 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.7223, allocations: 1.125 kB / 0.7946 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.7224, allocations: 3.938 kB / 0.7946 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.7225, allocations: 12.75 kB / 0.7946 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.723, allocations: 76.84 kB / 0.7947 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.7232, allocations: 53.86 kB / 0.7947 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.7233, allocations: 14.05 kB / 0.7947 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.7234, allocations: 20.77 kB / 0.7947 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.7234, allocations: 25.66 kB / 0.7948 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.7235, allocations: 5.312 kB / 0.7948 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.7236, allocations: 23.67 kB / 0.7948 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.7236, allocations: 10.45 kB / 0.7948 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.7237, allocations: 23.91 kB / 0.7948 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.7238, allocations: 58.8 kB / 0.7949 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7239, allocations: 1.125 kB / 0.7949 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7239, allocations: 0 / 0.7949 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7239, allocations: 0 / 0.7949 GB, free: 12.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006237/0.7245, allocations: 374.2 kB / 0.7952 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7246, allocations: 14.11 kB / 0.7953 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.7246, allocations: 33.64 kB / 0.7953 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.7247, allocations: 8.266 kB / 0.7953 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7248, allocations: 171.4 kB / 0.7955 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.7249, allocations: 4.812 kB / 0.7955 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.7249, allocations: 11.98 kB / 0.7955 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.7252, allocations: 70.28 kB / 0.7955 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7252, allocations: 8.594 kB / 0.7955 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7252, allocations: 3.688 kB / 0.7955 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7252, allocations: 5.188 kB / 0.7956 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.7255, allocations: 64.97 kB / 0.7956 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.726, allocations: 285.6 kB / 0.7959 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.7262, allocations: 62.45 kB / 0.7959 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.7264, allocations: 36.39 kB / 0.796 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.7266, allocations: 90.19 kB / 0.7961 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.7266, allocations: 31.91 kB / 0.7961 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7266, allocations: 4 kB / 0.7961 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005546/0.7272, allocations: 136.3 kB / 0.7962 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.7272, allocations: 51.41 kB / 0.7963 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7273, allocations: 123.2 kB / 0.7964 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7274, allocations: 26.77 kB / 0.7964 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.7274, allocations: 99.66 kB / 0.7965 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.7274, allocations: 12.94 kB / 0.7965 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.7275, allocations: 16.56 kB / 0.7965 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7276, allocations: 317.6 kB / 0.7969 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.7277, allocations: 30 kB / 0.7969 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7279, allocations: 36.75 kB / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.7282, allocations: 68.19 kB / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7282, allocations: 0 / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003462/0.7285, allocations: 99.41 kB / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7286, allocations: 10.25 kB / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.7286, allocations: 0 / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7286, allocations: 0 / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.7287, allocations: 15.8 kB / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7287, allocations: 0 / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.7288, allocations: 16.09 kB / 0.7971 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7288, allocations: 0 / 0.7971 GB, free: 10.87 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 9.748e-05/0.7289, allocations: 118.4 kB / 0.7972 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.729, allocations: 6.234 kB / 0.7972 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.7294, allocations: 114.5 kB / 0.7973 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7294, allocations: 384 / 0.7973 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7294, allocations: 1.125 kB / 0.7973 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7294, allocations: 0 / 0.7973 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.7296, allocations: 172.5 kB / 0.7975 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7296, allocations: 7.984 kB / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.7297, allocations: 15.89 kB / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7297, allocations: 0 / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.7297, allocations: 3.891 kB / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7297, allocations: 0 / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7297, allocations: 0.875 kB / 0.7975 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.7301, allocations: 199.9 kB / 0.7977 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.7302, allocations: 84.25 kB / 0.7978 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.7302, allocations: 0 / 0.7978 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.7303, allocations: 16.42 kB / 0.7978 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.7304, allocations: 3.156 kB / 0.7978 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7304, allocations: 1.062 kB / 0.7978 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.7304, allocations: 98.52 kB / 0.7979 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7304, allocations: 4 kB / 0.7979 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002475/0.7307, allocations: 17.59 kB / 0.7979 GB, free: 10.18 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.0006743/0.7314, allocations: 0.7442 MB / 0.7987 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.7317, allocations: 65.78 kB / 0.7987 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7317, allocations: 5.094 kB / 0.7987 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.7319, allocations: 34.94 kB / 0.7988 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.7322, allocations: 14.56 kB / 0.7988 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.7341, allocations: 1.418 MB / 0.8002 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.7344, allocations: 0.6806 MB / 0.8008 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.7344, allocations: 5.234 kB / 0.8008 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.7345, allocations: 17.09 kB / 0.8009 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7345, allocations: 5.219 kB / 0.8009 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.7541, allocations: 2.064 MB / 0.8029 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.382, allocations: 9.078 kB / 0.8029 GB, free: 7.203 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)