Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_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.002007/0.002007, allocations: 99.78 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.002832/0.002832, 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 3.2.3+maint.om/package.mo): time 3.41/3.41, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.601/3.601, allocations: 292.6 MB / 0.5497 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 13.31 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5408, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002697/0.5436, allocations: 1.191 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.2521/0.7957, allocations: 112 MB / 0.8977 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.796, allocations: 4 kB / 0.8978 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.796, allocations: 3.938 kB / 0.8978 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.7962, allocations: 15.89 kB / 0.8978 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.7969, allocations: 55.84 kB / 0.8978 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.797, allocations: 35.95 kB / 0.8979 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.7973, allocations: 4.281 kB / 0.8979 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.7974, allocations: 19.92 kB / 0.8979 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.7975, allocations: 23.91 kB / 0.8979 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.7976, allocations: 0 / 0.8979 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.7978, allocations: 16 kB / 0.8979 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.7978, allocations: 15.91 kB / 0.8979 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.7979, allocations: 29.7 kB / 0.898 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.7981, allocations: 35.89 kB / 0.898 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7981, allocations: 4 kB / 0.898 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.679e-06/0.7981, allocations: 3.938 kB / 0.898 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7981, allocations: 4 kB / 0.898 GB, free: 10.12 MB / 0.7169 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.001068/0.7992, allocations: 371.2 kB / 0.8984 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001026/0.7993, allocations: 12.03 kB / 0.8984 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.7995, allocations: 38.56 kB / 0.8984 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.7995, allocations: 3.906 kB / 0.8984 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7998, allocations: 178.9 kB / 0.8986 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.7999, allocations: 0 / 0.8986 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.7999, allocations: 4 kB / 0.8986 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.8004, allocations: 81.66 kB / 0.8987 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8005, allocations: 0 / 0.8987 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.8005, allocations: 7.938 kB / 0.8987 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.8005, allocations: 0 / 0.8987 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.8011, allocations: 91.92 kB / 0.8988 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.8019, allocations: 288.7 kB / 0.899 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.8022, allocations: 70.53 kB / 0.8991 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.8025, allocations: 89.19 kB / 0.8992 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.8026, allocations: 34.56 kB / 0.8992 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.8026, allocations: 4 kB / 0.8992 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0009571/0.8036, allocations: 169.4 kB / 0.8994 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.8037, allocations: 55.36 kB / 0.8994 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.8038, allocations: 113.8 kB / 0.8995 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.8039, allocations: 29.7 kB / 0.8996 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.804, allocations: 88.14 kB / 0.8997 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.804, allocations: 15.83 kB / 0.8997 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.8041, allocations: 4 kB / 0.8997 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.8043, allocations: 310.8 kB / 0.9 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.8046, allocations: 43.97 kB / 0.9 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.8049, allocations: 43.95 kB / 0.9001 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.8051, allocations: 39.97 kB / 0.9001 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8052, allocations: 0 / 0.9001 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000632/0.8058, allocations: 129.5 kB / 0.9002 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.8059, allocations: 10.97 kB / 0.9002 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8059, allocations: 0 / 0.9002 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.8059, allocations: 0 / 0.9002 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.8062, allocations: 23.98 kB / 0.9003 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.8062, allocations: 3.953 kB / 0.9003 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.8064, allocations: 19.98 kB / 0.9003 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.8064, allocations: 3.938 kB / 0.9003 GB, free: 7.551 MB / 0.7169 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 0.0001675/0.8066, allocations: 109.8 kB / 0.9004 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.8066, allocations: 8.219 kB / 0.9004 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.8073, allocations: 137.4 kB / 0.9005 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.8073, allocations: 0 / 0.9005 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.8073, allocations: 0 / 0.9005 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8074, allocations: 11.89 kB / 0.9005 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.8077, allocations: 173.6 kB / 0.9007 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8077, allocations: 0 / 0.9007 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.8079, allocations: 19.98 kB / 0.9007 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.8079, allocations: 0 / 0.9007 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.8079, allocations: 4 kB / 0.9007 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8079, allocations: 0 / 0.9007 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.808, allocations: 0 / 0.9007 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.8086, allocations: 219.4 kB / 0.9009 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.8087, allocations: 88.95 kB / 0.901 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8088, allocations: 0 / 0.901 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.809, allocations: 19.98 kB / 0.901 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.8091, allocations: 3.984 kB / 0.901 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.8091, allocations: 4 kB / 0.901 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001021/0.8092, allocations: 95.27 kB / 0.9011 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8092, allocations: 0 / 0.9011 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004756/0.8097, allocations: 12 kB / 0.9011 GB, free: 6.555 MB / 0.7169 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.001239/0.811, allocations: 0.763 MB / 0.9019 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006079/0.8116, allocations: 95.86 kB / 0.902 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8116, allocations: 0 / 0.902 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.8119, allocations: 47.95 kB / 0.902 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.8124, allocations: 12 kB / 0.902 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.8144, allocations: 0.5789 MB / 0.9026 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.8148, allocations: 0.6848 MB / 0.9033 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.082e-05/0.8149, allocations: 3.984 kB / 0.9033 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.815, allocations: 19.44 kB / 0.9033 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of SimCode: time 1.503e-06/0.815, allocations: 0 / 0.9033 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.8385, allocations: 1.687 MB / 0.9049 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/0.8389, allocations: 186.4 kB / 0.9051 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/4.146, allocations: 3.938 kB / 0.9051 GB, free: 2.457 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: