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.7155/0.7155, 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.001199/0.001199, allocations: 184.8 kB / 169.7 MB, free: 1.727 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.686/1.686, allocations: 205.1 MB / 404.5 MB, free: 1.555 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.0009649/0.0009648, allocations: 89.7 kB / 481.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.922e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 76.75 MB / 0.6283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5526/0.7377, allocations: 129.1 MB / 0.7543 GB, free: 172 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.738, allocations: 86.81 kB / 0.7544 GB, free: 120 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003746/0.7417, allocations: 1.636 MB / 0.756 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7418, allocations: 4 kB / 0.756 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.7418, allocations: 0 / 0.756 GB, free: 14.68 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.0002853/0.7421, allocations: 318.6 kB / 0.7563 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.7421, allocations: 12.03 kB / 0.7563 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.7422, allocations: 34.44 kB / 0.7564 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.7422, allocations: 3.984 kB / 0.7564 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.7423, allocations: 163 kB / 0.7565 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.991e-05/0.7424, allocations: 33.69 kB / 0.7566 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.7424, allocations: 4 kB / 0.7566 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.7425, allocations: 45.59 kB / 0.7566 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7425, allocations: 3.938 kB / 0.7566 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.7426, allocations: 0 / 0.7566 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7426, allocations: 0 / 0.7566 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.7426, allocations: 4 kB / 0.7566 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.7428, allocations: 161.6 kB / 0.7568 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.7428, allocations: 26.39 kB / 0.7568 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.7429, allocations: 12.86 kB / 0.7568 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.743, allocations: 89.89 kB / 0.7569 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7431, allocations: 38 kB / 0.7569 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7431, allocations: 0 / 0.7569 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.7432, allocations: 49.55 kB / 0.757 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.7432, allocations: 51.41 kB / 0.757 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.7433, allocations: 100.5 kB / 0.7571 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.7433, allocations: 27.89 kB / 0.7572 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.7434, allocations: 80.14 kB / 0.7572 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.7434, allocations: 7.781 kB / 0.7572 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.7434, allocations: 0 / 0.7572 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.7435, allocations: 314.8 kB / 0.7575 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.7435, allocations: 0 / 0.7575 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.7436, allocations: 4 kB / 0.7575 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.7436, allocations: 7.875 kB / 0.7575 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7436, allocations: 4 kB / 0.7575 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.036e-05/0.7437, allocations: 48.95 kB / 0.7576 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7437, allocations: 4 kB / 0.7576 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7437, allocations: 0.7031 kB / 0.7576 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7437, allocations: 0 / 0.7576 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.7438, allocations: 15.98 kB / 0.7576 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.7438, allocations: 0 / 0.7576 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.7438, allocations: 7.984 kB / 0.7576 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7439, allocations: 0 / 0.7576 GB, free: 12.84 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 8.038e-05/0.7439, allocations: 109 kB / 0.7577 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.744, allocations: 0 / 0.7577 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.7441, allocations: 56.62 kB / 0.7578 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7441, allocations: 3.938 kB / 0.7578 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7441, allocations: 3.953 kB / 0.7578 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7441, allocations: 3.984 kB / 0.7578 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.7442, allocations: 153.2 kB / 0.7579 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7442, allocations: 3.938 kB / 0.7579 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.7442, allocations: 7.984 kB / 0.758 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7443, allocations: 0 / 0.758 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.7443, allocations: 8 kB / 0.758 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7443, allocations: 0 / 0.758 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7443, allocations: 0 / 0.758 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/0.7444, allocations: 72.89 kB / 0.758 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.7444, allocations: 77.11 kB / 0.7581 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.7444, allocations: 3.625 kB / 0.7581 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.7445, allocations: 7.984 kB / 0.7581 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.7445, allocations: 0 / 0.7581 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.7445, allocations: 4 kB / 0.7581 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.7446, allocations: 79.28 kB / 0.7582 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7446, allocations: 0 / 0.7582 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001836/0.7448, allocations: 19.2 kB / 0.7582 GB, free: 12.16 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.0004543/0.7452, allocations: 0.6353 MB / 0.7588 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.7453, allocations: 27.73 kB / 0.7589 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7453, allocations: 0 / 0.7589 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.7454, allocations: 4 kB / 0.7589 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.7455, allocations: 7.984 kB / 0.7589 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.7458, allocations: 90.33 kB / 0.759 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.746, allocations: 0.677 MB / 0.7596 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.7461, allocations: 11.94 kB / 0.7596 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.7461, allocations: 10.69 kB / 0.7596 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.7461, allocations: 0 / 0.7596 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.7598, allocations: 1.818 MB / 0.7614 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.76, allocations: 178.5 kB / 0.7616 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.348, allocations: 0 / 0.7616 GB, free: 8.719 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)