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.004957/0.004957, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001318/0.001318, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002148, allocations: 63.91 kB / 0.5857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4171, allocations: 81.02 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002196/0.4194, allocations: 1.491 MB / 0.6663 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5739, allocations: 132.1 MB / 0.7953 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.5741, allocations: 0 / 0.7953 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.5742, allocations: 3.938 kB / 0.7953 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.5743, allocations: 15.86 kB / 0.7953 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.5748, allocations: 67.72 kB / 0.7954 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.5749, allocations: 55.67 kB / 0.7954 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.575, allocations: 23.44 kB / 0.7954 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.5751, allocations: 23.91 kB / 0.7955 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.5751, allocations: 23.92 kB / 0.7955 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.5752, allocations: 4 kB / 0.7955 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.5753, allocations: 19.92 kB / 0.7955 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.5753, allocations: 15.94 kB / 0.7955 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.5753, allocations: 19.92 kB / 0.7955 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.5755, allocations: 65 kB / 0.7956 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5755, allocations: 0 / 0.7956 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5756, allocations: 0 / 0.7956 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5756, allocations: 0 / 0.7956 GB, free: 10.56 MB / 0.6231 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.0005952/0.5762, allocations: 367.3 kB / 0.796 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5762, allocations: 8.031 kB / 0.796 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.5763, allocations: 42.73 kB / 0.796 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.5763, allocations: 8.891 kB / 0.796 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.5765, allocations: 168.3 kB / 0.7962 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5765, allocations: 8.312 kB / 0.7962 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.5765, allocations: 384 / 0.7962 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.5768, allocations: 74.2 kB / 0.7963 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5768, allocations: 3.938 kB / 0.7963 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5769, allocations: 4 kB / 0.7963 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5769, allocations: 0 / 0.7963 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.5772, allocations: 71.92 kB / 0.7963 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.5777, allocations: 288.7 kB / 0.7966 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.5779, allocations: 54.48 kB / 0.7967 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.5781, allocations: 40.91 kB / 0.7967 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.5783, allocations: 89.09 kB / 0.7968 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5783, allocations: 34.56 kB / 0.7968 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.5783, allocations: 0 / 0.7968 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.000598/0.5789, allocations: 137.5 kB / 0.7969 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.579, allocations: 51.41 kB / 0.797 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5791, allocations: 117.8 kB / 0.7971 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5791, allocations: 25.7 kB / 0.7971 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.5792, allocations: 92.2 kB / 0.7972 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.5792, allocations: 15.84 kB / 0.7972 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.5793, allocations: 17.72 kB / 0.7973 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5794, allocations: 318.8 kB / 0.7976 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5796, allocations: 31.97 kB / 0.7976 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.5797, allocations: 35.89 kB / 0.7976 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.58, allocations: 73.06 kB / 0.7977 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.58, allocations: 0 / 0.7977 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003465/0.5804, allocations: 105.5 kB / 0.7978 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5804, allocations: 8 kB / 0.7978 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5804, allocations: 4 kB / 0.7978 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.5805, allocations: 0 / 0.7978 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5806, allocations: 11.98 kB / 0.7978 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5806, allocations: 4 kB / 0.7978 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.5807, allocations: 15.97 kB / 0.7978 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5807, allocations: 4 kB / 0.7978 GB, free: 8.02 MB / 0.6231 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 8.626e-05/0.5808, allocations: 109.8 kB / 0.7979 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.5808, allocations: 7.953 kB / 0.798 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.5812, allocations: 113.5 kB / 0.7981 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5812, allocations: 0 / 0.7981 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5812, allocations: 0 / 0.7981 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5812, allocations: 0 / 0.7981 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.5815, allocations: 173.6 kB / 0.7982 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5815, allocations: 0 / 0.7982 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.5816, allocations: 23.92 kB / 0.7982 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5816, allocations: 0 / 0.7982 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5816, allocations: 0 / 0.7982 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5816, allocations: 0 / 0.7982 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5816, allocations: 4 kB / 0.7983 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.582, allocations: 203.4 kB / 0.7984 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.5821, allocations: 77.11 kB / 0.7985 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.5821, allocations: 4 kB / 0.7985 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5822, allocations: 7.984 kB / 0.7985 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.5823, allocations: 15.92 kB / 0.7985 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.5823, allocations: 0 / 0.7985 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.5824, allocations: 91.27 kB / 0.7986 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5824, allocations: 0 / 0.7986 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002398/0.5826, allocations: 15.94 kB / 0.7986 GB, free: 7.086 MB / 0.6231 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.000766/0.5834, allocations: 0.7358 MB / 0.7994 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.5838, allocations: 75.86 kB / 0.7994 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5838, allocations: 0 / 0.7994 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.5839, allocations: 39.95 kB / 0.7995 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.5843, allocations: 11.94 kB / 0.7995 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.5862, allocations: 1.43 MB / 0.8009 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5865, allocations: 0.6849 MB / 0.8016 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.5866, allocations: 3.938 kB / 0.8016 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.5867, allocations: 23.42 kB / 0.8016 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/0.5867, allocations: 0 / 0.8016 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6107, allocations: 2.067 MB / 0.8036 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.469, allocations: 4.922 kB / 0.8036 GB, free: 1.98 MB / 0.6231 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)