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.004793/0.004793, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001303/0.001303, allocations: 193.9 kB / 16.67 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.413/1.413, 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.8584/0.8584, allocations: 135.6 MB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.58 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, allocations: 81.02 MB / 0.6649 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002322/0.1664, allocations: 1.269 MB / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4928/0.6592, allocations: 132 MB / 0.795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.6593, allocations: 1.781 kB / 0.795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.6594, allocations: 1.062 kB / 0.795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.6594, allocations: 7.141 kB / 0.795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.6598, allocations: 58.42 kB / 0.7951 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.6599, allocations: 28.25 kB / 0.7951 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.6599, allocations: 6.344 kB / 0.7951 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.66, allocations: 6.672 kB / 0.7951 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.66, allocations: 7.047 kB / 0.7951 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.66, allocations: 5 kB / 0.7951 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.6601, allocations: 16.39 kB / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.6601, allocations: 4.781 kB / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.6602, allocations: 8.359 kB / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.6603, allocations: 28.55 kB / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6603, allocations: 0 / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6603, allocations: 0 / 0.7952 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6603, allocations: 0 / 0.7952 GB, free: 12.65 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.0004013/0.6607, allocations: 341.8 kB / 0.7955 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6608, allocations: 10.3 kB / 0.7955 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.6608, allocations: 31.78 kB / 0.7956 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.6608, allocations: 3.344 kB / 0.7956 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.661, allocations: 167.2 kB / 0.7957 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.661, allocations: 35.72 kB / 0.7958 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.6611, allocations: 1.438 kB / 0.7958 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.6612, allocations: 46.09 kB / 0.7958 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6612, allocations: 0 / 0.7958 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.6612, allocations: 0 / 0.7958 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6612, allocations: 1.062 kB / 0.7958 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.6613, allocations: 15.44 kB / 0.7958 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.6615, allocations: 152.7 kB / 0.796 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.6616, allocations: 32.52 kB / 0.796 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.6617, allocations: 21.2 kB / 0.796 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.6619, allocations: 89.44 kB / 0.7961 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.6619, allocations: 39.5 kB / 0.7961 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6619, allocations: 0 / 0.7961 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.6622, allocations: 65.52 kB / 0.7962 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6622, allocations: 52.75 kB / 0.7963 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.6623, allocations: 102.1 kB / 0.7964 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.6623, allocations: 26.98 kB / 0.7964 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.6624, allocations: 80.14 kB / 0.7965 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.6624, allocations: 7.844 kB / 0.7965 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.6624, allocations: 15.66 kB / 0.7965 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6626, allocations: 314.3 kB / 0.7968 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.6626, allocations: 4.625 kB / 0.7968 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.6627, allocations: 10.38 kB / 0.7968 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.6628, allocations: 26.17 kB / 0.7968 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6628, allocations: 5 kB / 0.7968 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001211/0.6629, allocations: 47.66 kB / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6629, allocations: 9.344 kB / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6629, allocations: 1.125 kB / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6629, allocations: 0 / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.663, allocations: 7.516 kB / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.663, allocations: 0 / 0.7969 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.6631, allocations: 9.062 kB / 0.7969 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6631, allocations: 2.938 kB / 0.7969 GB, free: 10.9 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 7.713e-05/0.6632, allocations: 113.7 kB / 0.797 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.6632, allocations: 9.016 kB / 0.797 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.6633, allocations: 61.41 kB / 0.7971 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6634, allocations: 0 / 0.7971 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6634, allocations: 1.125 kB / 0.7971 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6634, allocations: 0 / 0.7971 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.6635, allocations: 157.5 kB / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6635, allocations: 0 / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.6635, allocations: 10.61 kB / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6636, allocations: 5.062 kB / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6636, allocations: 1.125 kB / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6636, allocations: 0 / 0.7972 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6636, allocations: 5.5 kB / 0.7972 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.6637, allocations: 76.45 kB / 0.7973 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.6638, allocations: 88.25 kB / 0.7974 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.6638, allocations: 1.906 kB / 0.7974 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.6639, allocations: 2.406 kB / 0.7974 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.6639, allocations: 4.609 kB / 0.7974 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.6639, allocations: 0.9688 kB / 0.7974 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.664, allocations: 77.56 kB / 0.7975 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.664, allocations: 3.938 kB / 0.7975 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001886/0.6642, allocations: 13.03 kB / 0.7975 GB, free: 10.29 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.0004887/0.6647, allocations: 0.6306 MB / 0.7981 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6648, allocations: 24.73 kB / 0.7981 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6648, allocations: 0 / 0.7981 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.6649, allocations: 9.703 kB / 0.7981 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6651, allocations: 12.31 kB / 0.7982 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.6655, allocations: 155.3 kB / 0.7983 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.6658, allocations: 0.6743 MB / 0.799 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.6659, allocations: 6.312 kB / 0.799 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.6659, allocations: 11.17 kB / 0.799 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.6659, allocations: 1 kB / 0.799 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.6881, allocations: 1.363 MB / 0.8003 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.572, allocations: 10.81 kB / 0.8003 GB, free: 8.449 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)