Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001306/0.001305, allocations: 104 kB / 16.27 MB, free: 5.977 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.001211/0.001211, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.729/0.729, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3093, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001919/0.3112, allocations: 1.268 MB / 0.5685 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1101/0.4213, allocations: 132 MB / 0.6974 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.4214, allocations: 0 / 0.6974 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.4214, allocations: 3.938 kB / 0.6974 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.4215, allocations: 15.92 kB / 0.6975 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.4218, allocations: 55.72 kB / 0.6975 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.4218, allocations: 23.86 kB / 0.6975 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.4219, allocations: 4 kB / 0.6975 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.4219, allocations: 7.938 kB / 0.6975 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.422, allocations: 11.98 kB / 0.6976 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.422, allocations: 0 / 0.6976 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.4221, allocations: 8 kB / 0.6976 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.4221, allocations: 4 kB / 0.6976 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.4221, allocations: 11.92 kB / 0.6976 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.4222, allocations: 42.16 kB / 0.6976 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4222, allocations: 0 / 0.6976 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4222, allocations: 3.938 kB / 0.6976 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.4222, allocations: 0 / 0.6976 GB, free: 4.887 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003201/0.4226, allocations: 335.4 kB / 0.6979 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.4226, allocations: 8.625 kB / 0.698 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.4226, allocations: 30.75 kB / 0.698 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.4226, allocations: 4.938 kB / 0.698 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.4227, allocations: 164.4 kB / 0.6981 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.4228, allocations: 38.2 kB / 0.6982 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-06/0.4228, allocations: 384 / 0.6982 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.4229, allocations: 45.98 kB / 0.6982 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.4229, allocations: 4 kB / 0.6982 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.423, allocations: 0 / 0.6982 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.423, allocations: 4 kB / 0.6982 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.423, allocations: 11.98 kB / 0.6982 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.4232, allocations: 157.7 kB / 0.6984 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.4233, allocations: 34.52 kB / 0.6984 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.4233, allocations: 16.94 kB / 0.6984 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.4235, allocations: 89.09 kB / 0.6985 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4235, allocations: 38.5 kB / 0.6986 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4235, allocations: 0 / 0.6986 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001939/0.4237, allocations: 57.59 kB / 0.6986 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.4237, allocations: 55.39 kB / 0.6987 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.241e-05/0.4238, allocations: 97.86 kB / 0.6988 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.4238, allocations: 25.7 kB / 0.6988 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.4238, allocations: 80.14 kB / 0.6989 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4239, allocations: 15.84 kB / 0.6989 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.4239, allocations: 17.64 kB / 0.6989 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.424, allocations: 318.8 kB / 0.6992 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.424, allocations: 8 kB / 0.6992 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.4241, allocations: 7.984 kB / 0.6992 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.4241, allocations: 24.78 kB / 0.6992 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4241, allocations: 4 kB / 0.6992 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001086/0.4243, allocations: 45.69 kB / 0.6993 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4243, allocations: 7.938 kB / 0.6993 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.4243, allocations: 3.984 kB / 0.6993 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4243, allocations: 8 kB / 0.6993 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.4244, allocations: 7.938 kB / 0.6993 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4244, allocations: 0 / 0.6993 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.4244, allocations: 3.984 kB / 0.6993 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.4244, allocations: 4.516 kB / 0.6993 GB, free: 2.887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.4245, allocations: 105.8 kB / 0.6994 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.4245, allocations: 3.938 kB / 0.6994 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.4246, allocations: 69.09 kB / 0.6995 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4246, allocations: 4 kB / 0.6995 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4246, allocations: 0 / 0.6995 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.4247, allocations: 0 / 0.6995 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.718e-05/0.4247, allocations: 157.6 kB / 0.6996 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4247, allocations: 0 / 0.6996 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.4248, allocations: 4 kB / 0.6997 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4248, allocations: 7.938 kB / 0.6997 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4248, allocations: 3.938 kB / 0.6997 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4248, allocations: 0 / 0.6997 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4248, allocations: 0 / 0.6997 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.4249, allocations: 77.11 kB / 0.6997 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.425, allocations: 85.05 kB / 0.6998 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.425, allocations: 0 / 0.6998 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/0.425, allocations: 7.984 kB / 0.6998 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.4251, allocations: 4 kB / 0.6998 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4251, allocations: 0 / 0.6998 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.4251, allocations: 79.28 kB / 0.6999 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4251, allocations: 4 kB / 0.6999 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001712/0.4253, allocations: 8 kB / 0.6999 GB, free: 2.176 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 (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.00035/0.4256, allocations: 0.6254 MB / 0.7005 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.4258, allocations: 23.98 kB / 0.7005 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4258, allocations: 4 kB / 0.7006 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.4258, allocations: 23.86 kB / 0.7006 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.426, allocations: 10.06 kB / 0.7006 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.4264, allocations: 157.4 kB / 0.7007 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.4265, allocations: 0.6768 MB / 0.7014 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.233e-05/0.4266, allocations: 4 kB / 0.7014 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.4266, allocations: 11.44 kB / 0.7014 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.4266, allocations: 0 / 0.7014 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/1.864, allocations: 1.347 MB / 0.7027 GB, free: 15.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.61, allocations: 8.75 kB / 0.7027 GB, free: 15.32 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)