Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001528/0.001528, allocations: 100.1 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.001794/0.001794, allocations: 177.3 kB / 15.95 MB, free: 216 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9934/0.9934, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005379, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.203, allocations: 83.41 MB / 0.5973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00221/0.2053, allocations: 1.525 MB / 0.5988 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5192/0.7245, allocations: 130.9 MB / 0.7267 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.7247, allocations: 6.188 kB / 0.7267 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.7249, allocations: 18.27 kB / 0.7267 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.7253, allocations: 74.92 kB / 0.7268 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.7261, allocations: 223.4 kB / 0.727 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.7263, allocations: 159.4 kB / 0.7272 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.7265, allocations: 50.09 kB / 0.7272 GB, free: 1.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.7269, allocations: 153.7 kB / 0.7274 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.727, allocations: 72.17 kB / 0.7274 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.7271, allocations: 5.719 kB / 0.7274 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.7275, allocations: 189.7 kB / 0.7276 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.7276, allocations: 31.86 kB / 0.7277 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.7276, allocations: 48.8 kB / 0.7277 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.7279, allocations: 196.3 kB / 0.7279 GB, free: 1.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.728, allocations: 1.031 kB / 0.7279 GB, free: 1.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.728, allocations: 0 / 0.7279 GB, free: 1.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.728, allocations: 4 kB / 0.7279 GB, free: 1.637 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000894/0.7289, allocations: 0.4918 MB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7289, allocations: 9.344 kB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.729, allocations: 51.25 kB / 0.7284 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.7299, allocations: 81.06 kB / 0.7285 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.7302, allocations: 222.2 kB / 0.7287 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.7303, allocations: 39.45 kB / 0.7288 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.7303, allocations: 14.97 kB / 0.7288 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.7309, allocations: 263.1 kB / 0.729 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7309, allocations: 11.33 kB / 0.729 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.7309, allocations: 11.31 kB / 0.729 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7309, allocations: 3.125 kB / 0.729 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.7314, allocations: 173.9 kB / 0.7292 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.7332, allocations: 1.178 MB / 0.7304 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.734, allocations: 219.7 kB / 0.7306 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.734, allocations: 224 / 0.7306 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.7341, allocations: 37.34 kB / 0.7306 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.7341, allocations: 0 / 0.7306 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002751/0.7368, allocations: 0.6408 MB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.7369, allocations: 54.61 kB / 0.7313 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.7372, allocations: 203.7 kB / 0.7315 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.7372, allocations: 28.64 kB / 0.7315 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.7373, allocations: 143.1 kB / 0.7316 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.7374, allocations: 38.22 kB / 0.7317 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.7374, allocations: 3.25 kB / 0.7317 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7376, allocations: 327.2 kB / 0.732 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.7378, allocations: 77.38 kB / 0.7321 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.7381, allocations: 138 kB / 0.7322 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.7383, allocations: 87.17 kB / 0.7323 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7383, allocations: 7.938 kB / 0.7323 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001472/0.7398, allocations: 388.7 kB / 0.7327 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7399, allocations: 5.656 kB / 0.7327 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7399, allocations: 2.719 kB / 0.7327 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.741, allocations: 164.5 kB / 0.7328 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.7412, allocations: 37.55 kB / 0.7329 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.7456, allocations: 3.059 MB / 0.7359 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.746, allocations: 41.73 kB / 0.7359 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.746, allocations: 8.984 kB / 0.7359 GB, free: 11.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.7462, allocations: 135.3 kB / 0.736 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.7463, allocations: 16.06 kB / 0.736 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.7477, allocations: 380.8 kB / 0.7364 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.7477, allocations: 1.672 kB / 0.7364 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.7477, allocations: 0.9688 kB / 0.7364 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7478, allocations: 1.359 kB / 0.7364 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.7482, allocations: 277.9 kB / 0.7367 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7482, allocations: 0 / 0.7367 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.7484, allocations: 31.06 kB / 0.7367 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.7494, allocations: 158.6 kB / 0.7369 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.7494, allocations: 9.703 kB / 0.7369 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/0.7532, allocations: 3.101 MB / 0.7399 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7533, allocations: 3.938 kB / 0.7399 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.7547, allocations: 446.9 kB / 0.7403 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7548, allocations: 105.2 kB / 0.7404 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.7549, allocations: 12.38 kB / 0.7404 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.7552, allocations: 16.69 kB / 0.7405 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.7553, allocations: 18.8 kB / 0.7405 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.7553, allocations: 9.266 kB / 0.7405 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002186/0.7555, allocations: 148.2 kB / 0.7406 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7556, allocations: 0 / 0.7406 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005112/0.7561, allocations: 72.55 kB / 0.7407 GB, free: 6.969 MB / 0.5606 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/0.7579, allocations: 0.9933 MB / 0.7417 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.7592, allocations: 449.9 kB / 0.7421 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7592, allocations: 3.938 kB / 0.7421 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.76, allocations: 357.9 kB / 0.7424 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.7604, allocations: 60.86 kB / 0.7425 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.7642, allocations: 2.366 MB / 0.7448 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7646, allocations: 0.7296 MB / 0.7455 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.7648, allocations: 43.77 kB / 0.7456 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7649, allocations: 53.2 kB / 0.7456 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.765, allocations: 3.938 kB / 0.7456 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.7863, allocations: 6.663 MB / 0.7521 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.7865, allocations: 236.5 kB / 0.7523 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.701, allocations: 0 / 0.7523 GB, free: 12.43 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: