Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_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.001328/0.001328, allocations: 100.5 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.001529/0.001529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 0.5159 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 83.41 MB / 0.5974 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001317/0.1917, allocations: 0.9862 MB / 0.5983 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4598/0.6515, allocations: 111.9 MB / 0.7076 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.6516, allocations: 0 / 0.7076 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.6516, allocations: 0.7031 kB / 0.7076 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.6517, allocations: 1.875 kB / 0.7076 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.652, allocations: 52.12 kB / 0.7077 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.6521, allocations: 18 kB / 0.7077 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.6521, allocations: 3.234 kB / 0.7077 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.6522, allocations: 13.16 kB / 0.7077 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.6523, allocations: 5.672 kB / 0.7077 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.6523, allocations: 5.062 kB / 0.7077 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.6524, allocations: 15.2 kB / 0.7077 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.6524, allocations: 1.219 kB / 0.7077 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.6524, allocations: 29.67 kB / 0.7078 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.389e-05/0.6525, allocations: 18.52 kB / 0.7078 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6525, allocations: 1.438 kB / 0.7078 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6525, allocations: 3.938 kB / 0.7078 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6525, allocations: 0 / 0.7078 GB, free: 15.89 MB / 0.545 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.0003949/0.6529, allocations: 332.3 kB / 0.7081 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.653, allocations: 9.094 kB / 0.7081 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.653, allocations: 34.91 kB / 0.7082 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.6531, allocations: 5.922 kB / 0.7082 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.6532, allocations: 160.9 kB / 0.7083 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.6533, allocations: 30.95 kB / 0.7083 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.6533, allocations: 6.375 kB / 0.7083 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.6534, allocations: 34.67 kB / 0.7084 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.6534, allocations: 4.984 kB / 0.7084 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.6534, allocations: 0 / 0.7084 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6535, allocations: 5.094 kB / 0.7084 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.919e-05/0.6536, allocations: 19.2 kB / 0.7084 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.6537, allocations: 159.3 kB / 0.7086 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.6538, allocations: 30 kB / 0.7086 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.654, allocations: 93.02 kB / 0.7087 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.654, allocations: 35.56 kB / 0.7087 GB, free: 14.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.654, allocations: 0 / 0.7087 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002339/0.6543, allocations: 58.44 kB / 0.7088 GB, free: 14.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6543, allocations: 53.09 kB / 0.7088 GB, free: 14.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.6544, allocations: 98.73 kB / 0.7089 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.6544, allocations: 25.7 kB / 0.7089 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.6545, allocations: 82.42 kB / 0.709 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.6545, allocations: 14.83 kB / 0.709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.6545, allocations: 0 / 0.709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.6546, allocations: 315.6 kB / 0.7093 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.6546, allocations: 6.188 kB / 0.7093 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.6547, allocations: 6.484 kB / 0.7093 GB, free: 14.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.6547, allocations: 15.38 kB / 0.7094 GB, free: 14.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6547, allocations: 0 / 0.7094 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001197/0.6549, allocations: 51.77 kB / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6549, allocations: 10.81 kB / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6549, allocations: 0 / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6549, allocations: 1.062 kB / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.655, allocations: 7.141 kB / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.655, allocations: 0 / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.655, allocations: 2.922 kB / 0.7094 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.6551, allocations: 1.406 kB / 0.7094 GB, free: 14.16 MB / 0.545 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 7.94e-05/0.6551, allocations: 116.5 kB / 0.7095 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.6552, allocations: 1.375 kB / 0.7095 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.6553, allocations: 62.53 kB / 0.7096 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6553, allocations: 1.125 kB / 0.7096 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6553, allocations: 0 / 0.7096 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6554, allocations: 2.156 kB / 0.7096 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.6555, allocations: 156.2 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6555, allocations: 5.141 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.6555, allocations: 7.609 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6555, allocations: 0.5 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.6556, allocations: 1.719 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6556, allocations: 4 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6556, allocations: 2.344 kB / 0.7098 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.6557, allocations: 77.47 kB / 0.7098 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.6558, allocations: 88 kB / 0.7099 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.6558, allocations: 1.062 kB / 0.7099 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.6559, allocations: 6.656 kB / 0.7099 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.6559, allocations: 3.484 kB / 0.7099 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.6559, allocations: 5.375 kB / 0.7099 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.656, allocations: 78.33 kB / 0.71 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.656, allocations: 0 / 0.71 GB, free: 13.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001962/0.6562, allocations: 10.72 kB / 0.71 GB, free: 13.53 MB / 0.545 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.0005015/0.6567, allocations: 0.6289 MB / 0.7106 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.6568, allocations: 22.97 kB / 0.7107 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6568, allocations: 0 / 0.7107 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.6569, allocations: 12.62 kB / 0.7107 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.6571, allocations: 9.672 kB / 0.7107 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.6575, allocations: 171.9 kB / 0.7109 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.6578, allocations: 0.6779 MB / 0.7115 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.6578, allocations: 3.328 kB / 0.7115 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.6579, allocations: 8.719 kB / 0.7115 GB, free: 12.05 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.6579, allocations: 0 / 0.7115 GB, free: 12.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.6707, allocations: 1.145 MB / 0.7126 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.671, allocations: 207.6 kB / 0.7128 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.386, allocations: 0 / 0.7128 GB, free: 11.71 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: