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.001339/0.00134, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.002161/0.002161, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.2/2.2, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9272/0.9272, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001455/0.1647, allocations: 1.192 MB / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3766/0.5413, allocations: 112 MB / 0.6978 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.5414, allocations: 3.969 kB / 0.6978 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.5415, allocations: 8.5 kB / 0.6978 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.5415, allocations: 13.8 kB / 0.6978 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.5419, allocations: 54.5 kB / 0.6979 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.542, allocations: 33.77 kB / 0.6979 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.5421, allocations: 9.828 kB / 0.6979 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.5422, allocations: 18.64 kB / 0.6979 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.303e-05/0.5423, allocations: 20.92 kB / 0.6979 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.5423, allocations: 6.531 kB / 0.698 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.5424, allocations: 19.23 kB / 0.698 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.5424, allocations: 7.281 kB / 0.698 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.5425, allocations: 30.14 kB / 0.698 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.5426, allocations: 38.27 kB / 0.698 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5426, allocations: 0 / 0.698 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5426, allocations: 0 / 0.698 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5426, allocations: 1.438 kB / 0.698 GB, free: 11.45 MB / 0.5294 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.000544/0.5432, allocations: 382.6 kB / 0.6984 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5432, allocations: 14.19 kB / 0.6984 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.5433, allocations: 31.12 kB / 0.6985 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.5433, allocations: 10.2 kB / 0.6985 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.5434, allocations: 167 kB / 0.6986 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5435, allocations: 1.5 kB / 0.6986 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5435, allocations: 4.953 kB / 0.6986 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.5438, allocations: 84.09 kB / 0.6987 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.5438, allocations: 0 / 0.6987 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5438, allocations: 1.125 kB / 0.6987 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5438, allocations: 1.094 kB / 0.6987 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.5442, allocations: 96.84 kB / 0.6988 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.5446, allocations: 282.4 kB / 0.6991 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5448, allocations: 65.81 kB / 0.6991 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.545, allocations: 98.12 kB / 0.6992 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.545, allocations: 36.27 kB / 0.6993 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.545, allocations: 0 / 0.6993 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006185/0.5456, allocations: 174.5 kB / 0.6994 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5457, allocations: 52.88 kB / 0.6995 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5458, allocations: 116.6 kB / 0.6996 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5459, allocations: 26.31 kB / 0.6996 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.5459, allocations: 87.92 kB / 0.6997 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.5459, allocations: 13.64 kB / 0.6997 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5459, allocations: 1.219 kB / 0.6997 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002533/0.5462, allocations: 313.9 kB / 0.7 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5464, allocations: 44.89 kB / 0.7001 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5465, allocations: 45.41 kB / 0.7001 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.5467, allocations: 44.23 kB / 0.7001 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5467, allocations: 0 / 0.7001 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003552/0.5471, allocations: 122.7 kB / 0.7003 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5471, allocations: 4.219 kB / 0.7003 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5471, allocations: 1 kB / 0.7003 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5471, allocations: 7.953 kB / 0.7003 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.5473, allocations: 24.48 kB / 0.7003 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5473, allocations: 1.953 kB / 0.7003 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.5474, allocations: 17.03 kB / 0.7003 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5474, allocations: 0 / 0.7003 GB, free: 9.566 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.5475, allocations: 113.1 kB / 0.7004 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.5475, allocations: 6.766 kB / 0.7004 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.5479, allocations: 134.4 kB / 0.7006 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.5479, allocations: 4.031 kB / 0.7006 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5479, allocations: 4.641 kB / 0.7006 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.548, allocations: 2.141 kB / 0.7006 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.5482, allocations: 168.5 kB / 0.7007 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5482, allocations: 1.031 kB / 0.7007 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.5483, allocations: 24.75 kB / 0.7007 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5483, allocations: 3.125 kB / 0.7008 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5483, allocations: 1.891 kB / 0.7008 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5483, allocations: 0 / 0.7008 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5483, allocations: 0 / 0.7008 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.5487, allocations: 230.7 kB / 0.701 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.5488, allocations: 83.16 kB / 0.7011 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5488, allocations: 2.188 kB / 0.7011 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5489, allocations: 23.58 kB / 0.7011 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.549, allocations: 4.609 kB / 0.7011 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.549, allocations: 0.5156 kB / 0.7011 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.549, allocations: 96.69 kB / 0.7012 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 0 / 0.7012 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002366/0.5493, allocations: 12.88 kB / 0.7012 GB, free: 8.836 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007383/0.55, allocations: 0.7615 MB / 0.7019 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.5504, allocations: 95.08 kB / 0.702 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5504, allocations: 0 / 0.702 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5506, allocations: 49.23 kB / 0.7021 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.5509, allocations: 15.41 kB / 0.7021 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.5521, allocations: 0.573 MB / 0.7026 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5524, allocations: 0.6849 MB / 0.7033 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.5524, allocations: 11.53 kB / 0.7033 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.5525, allocations: 19.98 kB / 0.7033 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5525, allocations: 0 / 0.7033 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.5661, allocations: 1.686 MB / 0.705 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.5663, allocations: 182 kB / 0.7052 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.349, allocations: 0.9844 kB / 0.7052 GB, free: 6.625 MB / 0.5294 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/linux/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) Environment - environmentSimulation: