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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.00828/0.00828, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001621/0.001621, allocations: 195.1 kB / 16.68 MB, free: 5.523 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.09 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1472, allocations: 80.92 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002329/0.1496, allocations: 1.268 MB / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4962/0.6458, allocations: 132 MB / 0.7943 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.6459, allocations: 0 / 0.7943 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.646, allocations: 3.938 kB / 0.7943 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.646, allocations: 11.67 kB / 0.7943 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.6464, allocations: 57.27 kB / 0.7944 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.6464, allocations: 24.66 kB / 0.7944 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.6465, allocations: 2.938 kB / 0.7944 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.6465, allocations: 10.52 kB / 0.7944 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.6466, allocations: 15.88 kB / 0.7944 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.6466, allocations: 1.125 kB / 0.7944 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-05/0.6467, allocations: 13.91 kB / 0.7945 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.6467, allocations: 1.094 kB / 0.7945 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.6468, allocations: 5.641 kB / 0.7945 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.6469, allocations: 35.31 kB / 0.7945 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6469, allocations: 0 / 0.7945 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6469, allocations: 0 / 0.7945 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5e-06/0.6469, allocations: 2.906 kB / 0.7945 GB, free: 12.71 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.0004474/0.6474, allocations: 336 kB / 0.7948 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6474, allocations: 11.17 kB / 0.7948 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.6475, allocations: 35.06 kB / 0.7949 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.6475, allocations: 2.406 kB / 0.7949 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.6476, allocations: 164.2 kB / 0.795 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.6477, allocations: 32.61 kB / 0.7951 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.6477, allocations: 1.531 kB / 0.7951 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.6479, allocations: 47.92 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6479, allocations: 0 / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.6479, allocations: 1.125 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.6479, allocations: 0 / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.648, allocations: 12.56 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.6482, allocations: 158.3 kB / 0.7953 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.6483, allocations: 33.11 kB / 0.7953 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.6483, allocations: 12.12 kB / 0.7953 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6485, allocations: 93.56 kB / 0.7954 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6485, allocations: 39.22 kB / 0.7954 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6485, allocations: 0 / 0.7954 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002307/0.6488, allocations: 67.92 kB / 0.7955 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.6488, allocations: 51.41 kB / 0.7956 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.6489, allocations: 99.16 kB / 0.7956 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.6489, allocations: 26.89 kB / 0.7957 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.649, allocations: 80.14 kB / 0.7958 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.649, allocations: 5.016 kB / 0.7958 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.649, allocations: 18.25 kB / 0.7958 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6491, allocations: 316 kB / 0.7961 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.6492, allocations: 10.58 kB / 0.7961 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.6492, allocations: 11.27 kB / 0.7961 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.6493, allocations: 22.83 kB / 0.7961 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6493, allocations: 0 / 0.7961 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001255/0.6495, allocations: 46.77 kB / 0.7962 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6495, allocations: 13.41 kB / 0.7962 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6495, allocations: 0 / 0.7962 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6495, allocations: 5.375 kB / 0.7962 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.6496, allocations: 6.953 kB / 0.7962 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6496, allocations: 1.094 kB / 0.7962 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.6496, allocations: 5.062 kB / 0.7962 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.6497, allocations: 4.719 kB / 0.7962 GB, free: 10.97 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.524e-05/0.6497, allocations: 111 kB / 0.7963 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.6497, allocations: 8.891 kB / 0.7963 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.6499, allocations: 58.36 kB / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6499, allocations: 5.094 kB / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6499, allocations: 0 / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6499, allocations: 1.188 kB / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.65, allocations: 151 kB / 0.7965 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6501, allocations: 4.641 kB / 0.7965 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.6501, allocations: 6 kB / 0.7965 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6501, allocations: 3.938 kB / 0.7965 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.6501, allocations: 5.031 kB / 0.7965 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6501, allocations: 0 / 0.7965 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6501, allocations: 2.297 kB / 0.7965 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.6503, allocations: 80.22 kB / 0.7966 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.6503, allocations: 85.39 kB / 0.7967 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.6504, allocations: 1.125 kB / 0.7967 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.6504, allocations: 3.609 kB / 0.7967 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.6504, allocations: 1.312 kB / 0.7967 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.6504, allocations: 0.9375 kB / 0.7967 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.6505, allocations: 91.41 kB / 0.7968 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6505, allocations: 0 / 0.7968 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001924/0.6507, allocations: 9.562 kB / 0.7968 GB, free: 10.35 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.0004392/0.6511, allocations: 0.63 MB / 0.7974 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.6513, allocations: 25 kB / 0.7974 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6513, allocations: 0 / 0.7974 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.6513, allocations: 9.891 kB / 0.7974 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6516, allocations: 9.766 kB / 0.7975 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.652, allocations: 157 kB / 0.7976 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.6522, allocations: 0.6756 MB / 0.7983 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.6523, allocations: 7.359 kB / 0.7983 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.6523, allocations: 16.06 kB / 0.7983 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6523, allocations: 1.031 kB / 0.7983 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.6688, allocations: 1.36 MB / 0.7996 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/8.166, allocations: 5.812 kB / 0.7996 GB, free: 8.516 MB / 0.5919 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)