Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_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.7297/0.7297, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 180.8 kB / 169.7 MB, free: 1.73 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.674/1.674, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.001091/0.001091, allocations: 82.42 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.29e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 76.75 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6179/0.768, allocations: 129.7 MB / 0.7549 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.7683, allocations: 75.58 kB / 0.755 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005581/0.7739, allocations: 2.179 MB / 0.7571 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7739, allocations: 0 / 0.7571 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.7739, allocations: 7 kB / 0.7571 GB, free: 13.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004528/0.7744, allocations: 369.5 kB / 0.7575 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.7744, allocations: 8.031 kB / 0.7575 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.7745, allocations: 34.56 kB / 0.7575 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.7745, allocations: 4.688 kB / 0.7575 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7747, allocations: 174.9 kB / 0.7577 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.7747, allocations: 4 kB / 0.7577 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.7747, allocations: 3.938 kB / 0.7577 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.7748, allocations: 52.62 kB / 0.7577 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7748, allocations: 3.953 kB / 0.7577 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.7749, allocations: 3.312 kB / 0.7577 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7749, allocations: 0 / 0.7577 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.7749, allocations: 23.25 kB / 0.7578 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.7753, allocations: 287.5 kB / 0.758 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.7754, allocations: 33.52 kB / 0.7581 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.7755, allocations: 16.89 kB / 0.7581 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.7756, allocations: 89.09 kB / 0.7582 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.7757, allocations: 34.55 kB / 0.7582 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 3.767e-06/0.7757, allocations: 3.984 kB / 0.7582 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001687/0.7758, allocations: 54.73 kB / 0.7582 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7759, allocations: 59.34 kB / 0.7583 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.776, allocations: 111.3 kB / 0.7584 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.776, allocations: 29.7 kB / 0.7584 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.7761, allocations: 87.27 kB / 0.7585 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.7761, allocations: 7.719 kB / 0.7585 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.7761, allocations: 4 kB / 0.7585 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7762, allocations: 314.8 kB / 0.7588 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.7763, allocations: 7.25 kB / 0.7588 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.7763, allocations: 11.56 kB / 0.7589 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.7763, allocations: 10.69 kB / 0.7589 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7763, allocations: 0 / 0.7589 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.243e-05/0.7764, allocations: 60.3 kB / 0.7589 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7764, allocations: 4 kB / 0.7589 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7765, allocations: 0 / 0.7589 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7765, allocations: 0 / 0.7589 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.7766, allocations: 27.91 kB / 0.759 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7766, allocations: 3.938 kB / 0.759 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.7767, allocations: 23.17 kB / 0.759 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.7767, allocations: 4 kB / 0.759 GB, free: 11.66 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 7.505e-05/0.7768, allocations: 101 kB / 0.7591 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.7769, allocations: 11.86 kB / 0.7591 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.777, allocations: 64.2 kB / 0.7591 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.777, allocations: 0 / 0.7591 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.777, allocations: 8 kB / 0.7592 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.777, allocations: 0 / 0.7592 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.7772, allocations: 169.3 kB / 0.7593 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7772, allocations: 3.984 kB / 0.7593 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.7773, allocations: 23.92 kB / 0.7593 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.7773, allocations: 3.953 kB / 0.7593 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.7773, allocations: 0 / 0.7593 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7774, allocations: 4 kB / 0.7594 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7774, allocations: 0 / 0.7594 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.7775, allocations: 154.2 kB / 0.7595 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.7776, allocations: 81.02 kB / 0.7596 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7776, allocations: 3.953 kB / 0.7596 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7777, allocations: 19.97 kB / 0.7596 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.7778, allocations: 4 kB / 0.7596 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.7778, allocations: 4 kB / 0.7596 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.7778, allocations: 94.39 kB / 0.7597 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7778, allocations: 0 / 0.7597 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002148/0.7781, allocations: 15.94 kB / 0.7597 GB, free: 10.84 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.0005255/0.7786, allocations: 0.7192 MB / 0.7604 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7787, allocations: 30.98 kB / 0.7604 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7787, allocations: 0 / 0.7604 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.7788, allocations: 18.88 kB / 0.7605 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.7789, allocations: 11.94 kB / 0.7605 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.7793, allocations: 121.9 kB / 0.7606 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.7796, allocations: 0.6809 MB / 0.7613 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.7797, allocations: 12.23 kB / 0.7613 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.7797, allocations: 21.55 kB / 0.7613 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7797, allocations: 0 / 0.7613 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.7929, allocations: 2.356 MB / 0.7636 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.7931, allocations: 167.5 kB / 0.7637 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.306, allocations: 0 / 0.7637 GB, free: 6.727 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)