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.007016/0.007016, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001624/0.001624, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9103/0.9103, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.446, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002496/0.4486, allocations: 1.5 MB / 0.6656 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1407/0.5893, allocations: 132.1 MB / 0.7946 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.5894, allocations: 0 / 0.7946 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.5895, allocations: 3.938 kB / 0.7946 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.5896, allocations: 11.86 kB / 0.7946 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.5899, allocations: 69.95 kB / 0.7947 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.5901, allocations: 55.62 kB / 0.7947 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.5902, allocations: 19.98 kB / 0.7947 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.5902, allocations: 19.92 kB / 0.7948 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.5903, allocations: 19.92 kB / 0.7948 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.5903, allocations: 4 kB / 0.7948 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.5904, allocations: 19.98 kB / 0.7948 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.5904, allocations: 7.938 kB / 0.7948 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.5905, allocations: 27.91 kB / 0.7948 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.5906, allocations: 59.75 kB / 0.7949 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5906, allocations: 4 kB / 0.7949 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5906, allocations: 4 kB / 0.7949 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5907, allocations: 0 / 0.7949 GB, free: 11.25 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.0005062/0.5912, allocations: 363.4 kB / 0.7952 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5912, allocations: 12.02 kB / 0.7953 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.5912, allocations: 34.75 kB / 0.7953 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.5913, allocations: 8.844 kB / 0.7953 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.5914, allocations: 176.2 kB / 0.7955 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.5914, allocations: 8.312 kB / 0.7955 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5914, allocations: 4.375 kB / 0.7955 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.5917, allocations: 78.19 kB / 0.7955 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5917, allocations: 3.938 kB / 0.7956 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5917, allocations: 4 kB / 0.7956 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5918, allocations: 0 / 0.7956 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.5921, allocations: 71.92 kB / 0.7956 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.5924, allocations: 280.8 kB / 0.7959 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.5926, allocations: 58.53 kB / 0.7959 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5928, allocations: 44.84 kB / 0.796 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.593, allocations: 93.09 kB / 0.7961 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.593, allocations: 34.56 kB / 0.7961 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.593, allocations: 0 / 0.7961 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005442/0.5936, allocations: 133.4 kB / 0.7962 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5936, allocations: 55.39 kB / 0.7963 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.5937, allocations: 117.8 kB / 0.7964 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5937, allocations: 25.7 kB / 0.7964 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.5938, allocations: 88.14 kB / 0.7965 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.5938, allocations: 7.812 kB / 0.7965 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.5939, allocations: 21.7 kB / 0.7965 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.594, allocations: 318.8 kB / 0.7968 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5941, allocations: 31.95 kB / 0.7969 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.5943, allocations: 31.97 kB / 0.7969 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.5946, allocations: 76.72 kB / 0.797 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5946, allocations: 0 / 0.797 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003199/0.5949, allocations: 93.62 kB / 0.7971 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5949, allocations: 4 kB / 0.7971 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5949, allocations: 0 / 0.7971 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5949, allocations: 0 / 0.7971 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5951, allocations: 15.98 kB / 0.7971 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5951, allocations: 7.984 kB / 0.7971 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.5952, allocations: 19.92 kB / 0.7971 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5952, allocations: 3.984 kB / 0.7971 GB, free: 8.715 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 7.793e-05/0.5953, allocations: 113.8 kB / 0.7972 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.5953, allocations: 3.906 kB / 0.7972 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.5957, allocations: 113.5 kB / 0.7973 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5957, allocations: 0 / 0.7973 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5957, allocations: 4 kB / 0.7973 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5957, allocations: 0 / 0.7973 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.5959, allocations: 173.6 kB / 0.7975 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5959, allocations: 0 / 0.7975 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.596, allocations: 15.98 kB / 0.7975 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.596, allocations: 7.875 kB / 0.7975 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.596, allocations: 0 / 0.7975 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.596, allocations: 7.984 kB / 0.7975 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.596, allocations: 0 / 0.7975 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.5964, allocations: 203.6 kB / 0.7977 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.5964, allocations: 77.11 kB / 0.7978 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.5965, allocations: 48 / 0.7978 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5966, allocations: 23.95 kB / 0.7978 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5966, allocations: 4 kB / 0.7978 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.5966, allocations: 4 kB / 0.7978 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.5967, allocations: 91.7 kB / 0.7979 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5967, allocations: 0 / 0.7979 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002261/0.5969, allocations: 12 kB / 0.7979 GB, free: 7.773 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.0006658/0.5976, allocations: 0.7409 MB / 0.7987 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.598, allocations: 75.86 kB / 0.7987 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.598, allocations: 0 / 0.7987 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5981, allocations: 31.97 kB / 0.7988 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5984, allocations: 15.98 kB / 0.7988 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.6002, allocations: 1.427 MB / 0.8002 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.6004, allocations: 0.6807 MB / 0.8008 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.6005, allocations: 7.984 kB / 0.8008 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.6005, allocations: 19.44 kB / 0.8009 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.6005, allocations: 0 / 0.8009 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.6194, allocations: 2.089 MB / 0.8029 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/8.107, allocations: 7.969 kB / 0.8029 GB, free: 2.652 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)