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.005345/0.005345, allocations: 102 kB / 15.73 MB, free: 6.039 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.001335/0.001335, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7897/0.7897, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64.41 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002261/0.152, allocations: 1.272 MB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5107/0.6627, allocations: 132 MB / 0.7943 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.6628, allocations: 0 / 0.7943 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.6629, allocations: 0 / 0.7943 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.6629, allocations: 9.859 kB / 0.7943 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.6633, allocations: 57.84 kB / 0.7944 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.6634, allocations: 25.19 kB / 0.7944 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.6635, allocations: 4.781 kB / 0.7944 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.6635, allocations: 11.38 kB / 0.7944 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.6636, allocations: 12.12 kB / 0.7944 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.6636, allocations: 1.031 kB / 0.7944 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.6637, allocations: 12.36 kB / 0.7945 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.6637, allocations: 8.281 kB / 0.7945 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.6637, allocations: 6.906 kB / 0.7945 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.6639, allocations: 28.08 kB / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6639, allocations: 1.25 kB / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6639, allocations: 0 / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6639, allocations: 0 / 0.7945 GB, free: 12.67 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.0003975/0.6643, allocations: 335.5 kB / 0.7948 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6643, allocations: 10.83 kB / 0.7948 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.6644, allocations: 30.75 kB / 0.7949 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.6644, allocations: 4.031 kB / 0.7949 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6645, allocations: 167.1 kB / 0.795 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.6646, allocations: 33.39 kB / 0.795 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6646, allocations: 1.344 kB / 0.795 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6647, allocations: 40.52 kB / 0.7951 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6648, allocations: 4 kB / 0.7951 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.6648, allocations: 0 / 0.7951 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6648, allocations: 1.375 kB / 0.7951 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.6649, allocations: 19.62 kB / 0.7951 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.665, allocations: 154.8 kB / 0.7953 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6651, allocations: 29.56 kB / 0.7953 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.6652, allocations: 16.33 kB / 0.7953 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.6654, allocations: 93.31 kB / 0.7954 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6654, allocations: 39.53 kB / 0.7954 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6654, allocations: 0 / 0.7954 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002232/0.6656, allocations: 60.88 kB / 0.7955 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.6657, allocations: 52.66 kB / 0.7955 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.6658, allocations: 98.98 kB / 0.7956 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6658, allocations: 26.77 kB / 0.7957 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.6658, allocations: 80.14 kB / 0.7957 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.6658, allocations: 17.73 kB / 0.7958 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.6659, allocations: 13.09 kB / 0.7958 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.666, allocations: 315.6 kB / 0.7961 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.666, allocations: 6.906 kB / 0.7961 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.6661, allocations: 6.688 kB / 0.7961 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.6662, allocations: 32.67 kB / 0.7961 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6662, allocations: 0 / 0.7961 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/0.6663, allocations: 57.88 kB / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6663, allocations: 9.219 kB / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6663, allocations: 0 / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6664, allocations: 0 / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.6664, allocations: 5.031 kB / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6664, allocations: 2.844 kB / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.6665, allocations: 3.719 kB / 0.7962 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6665, allocations: 5.438 kB / 0.7962 GB, free: 10.93 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.592e-05/0.6666, allocations: 109.6 kB / 0.7963 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.6666, allocations: 5.031 kB / 0.7963 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.6667, allocations: 60.34 kB / 0.7964 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6668, allocations: 1.094 kB / 0.7964 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6668, allocations: 0 / 0.7964 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6668, allocations: 1.125 kB / 0.7964 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.6669, allocations: 153.4 kB / 0.7965 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6669, allocations: 4 kB / 0.7965 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.6669, allocations: 5.625 kB / 0.7965 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.667, allocations: 3.938 kB / 0.7965 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.667, allocations: 5.125 kB / 0.7965 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.667, allocations: 0 / 0.7965 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.667, allocations: 1.031 kB / 0.7965 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.6671, allocations: 77.59 kB / 0.7966 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.6672, allocations: 92.64 kB / 0.7967 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.6672, allocations: 1.25 kB / 0.7967 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.6672, allocations: 4.438 kB / 0.7967 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.6673, allocations: 3.188 kB / 0.7967 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.6673, allocations: 1.281 kB / 0.7967 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.6673, allocations: 80.23 kB / 0.7968 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6673, allocations: 3.938 kB / 0.7968 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001863/0.6675, allocations: 12.53 kB / 0.7968 GB, free: 10.31 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.0004839/0.668, allocations: 0.6259 MB / 0.7974 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.6682, allocations: 19.12 kB / 0.7974 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6682, allocations: 0 / 0.7974 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.6682, allocations: 17.48 kB / 0.7974 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.6685, allocations: 10.7 kB / 0.7974 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.6689, allocations: 163.8 kB / 0.7976 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.6691, allocations: 0.674 MB / 0.7983 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.6692, allocations: 6.312 kB / 0.7983 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.6692, allocations: 9.75 kB / 0.7983 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6692, allocations: 0 / 0.7983 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.6841, allocations: 1.369 MB / 0.7996 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.171, allocations: 5.656 kB / 0.7996 GB, free: 8.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)