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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7786/0.7786, allocations: 127.4 MB / 134.9 MB, free: 3.422 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 170.8 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008326/0.000833, allocations: 102.3 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.305e-05, allocations: 5.188 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5805/0.7216, allocations: 128.5 MB / 0.7471 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.722, allocations: 81.61 kB / 0.7471 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004121/0.7261, allocations: 1.615 MB / 0.7487 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7262, allocations: 192 / 0.7487 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.7262, allocations: 0.9062 kB / 0.7487 GB, free: 42.15 MB / 0.5105 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.0002488/0.7265, allocations: 327 kB / 0.749 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.7265, allocations: 10.66 kB / 0.749 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.7265, allocations: 1.219 kB / 0.749 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.7266, allocations: 165.2 kB / 0.7492 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.7267, allocations: 32.98 kB / 0.7492 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.7267, allocations: 5.578 kB / 0.7492 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.859e-05/0.7268, allocations: 4.609 kB / 0.7492 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.7269, allocations: 39.12 kB / 0.7493 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.7269, allocations: 0 / 0.7493 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7269, allocations: 1.25 kB / 0.7493 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7269, allocations: 0 / 0.7493 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.727, allocations: 130.2 kB / 0.7494 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.7271, allocations: 33.17 kB / 0.7494 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.7271, allocations: 10.86 kB / 0.7495 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.7273, allocations: 89.34 kB / 0.7495 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.7273, allocations: 32.41 kB / 0.7496 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7273, allocations: 0 / 0.7496 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.7275, allocations: 46.7 kB / 0.7496 GB, free: 41.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.7275, allocations: 54.83 kB / 0.7497 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.7276, allocations: 96.92 kB / 0.7498 GB, free: 41.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.7276, allocations: 27.34 kB / 0.7498 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.7276, allocations: 80.7 kB / 0.7499 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.7276, allocations: 9.828 kB / 0.7499 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.7277, allocations: 3.938 kB / 0.7499 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.7277, allocations: 313.4 kB / 0.7502 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.7277, allocations: 2.188 kB / 0.7502 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.7277, allocations: 5.562 kB / 0.7502 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.7278, allocations: 11.52 kB / 0.7502 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7278, allocations: 0 / 0.7502 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.265e-05/0.7279, allocations: 43.98 kB / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7279, allocations: 5.594 kB / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7279, allocations: 0 / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7279, allocations: 1.031 kB / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.728, allocations: 6.734 kB / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.728, allocations: 4.641 kB / 0.7502 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.7281, allocations: 4.125 kB / 0.7503 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.7281, allocations: 6.094 kB / 0.7503 GB, free: 40.53 MB / 0.5105 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 () * 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 4.588e-05/0.7281, allocations: 106.5 kB / 0.7504 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.985e-05/0.7282, allocations: 48.25 kB / 0.7504 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.7282, allocations: 5.094 kB / 0.7504 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.7284, allocations: 54.48 kB / 0.7505 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7284, allocations: 48 / 0.7505 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7284, allocations: 10.03 kB / 0.7505 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7284, allocations: 0.5156 kB / 0.7505 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.354e-05/0.7285, allocations: 129 kB / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7285, allocations: 0 / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.7285, allocations: 10.77 kB / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7285, allocations: 4.562 kB / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.7286, allocations: 0 / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7286, allocations: 1.859 kB / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7286, allocations: 0 / 0.7506 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.7287, allocations: 74.95 kB / 0.7507 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.7287, allocations: 79.64 kB / 0.7508 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.7287, allocations: 4.453 kB / 0.7508 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/0.7288, allocations: 7.828 kB / 0.7508 GB, free: 40.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.7288, allocations: 1.406 kB / 0.7508 GB, free: 40.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7288, allocations: 1.5 kB / 0.7508 GB, free: 40.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.7289, allocations: 79.25 kB / 0.7508 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7289, allocations: 0 / 0.7508 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002112/0.7291, allocations: 15.77 kB / 0.7509 GB, free: 39.93 MB / 0.5105 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 () * 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.0003552/0.7294, allocations: 0.6572 MB / 0.7515 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.7295, allocations: 12.97 kB / 0.7515 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7295, allocations: 0 / 0.7515 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.7295, allocations: 8.938 kB / 0.7515 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.7297, allocations: 9.266 kB / 0.7515 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.73, allocations: 92.81 kB / 0.7516 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.7301, allocations: 0.6804 MB / 0.7523 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.7301, allocations: 6.531 kB / 0.7523 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.7302, allocations: 13.44 kB / 0.7523 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.7302, allocations: 0 / 0.7523 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.7484, allocations: 1.117 MB / 0.7534 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.7486, allocations: 161.8 kB / 0.7536 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.234, allocations: 3.094 kB / 0.7536 GB, free: 38.2 MB / 0.5105 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)