Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.0009621/0.0009621, allocations: 99.23 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.001025/0.001025, 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.000347, allocations: 12 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1979, allocations: 83.41 MB / 0.5974 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00193/0.1999, allocations: 1.327 MB / 0.5986 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5119/0.7118, allocations: 126.5 MB / 0.7222 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.712, allocations: 5.094 kB / 0.7222 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.7122, allocations: 18.27 kB / 0.7222 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.7125, allocations: 48.98 kB / 0.7222 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.7131, allocations: 151.8 kB / 0.7224 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.7133, allocations: 92.05 kB / 0.7225 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.7134, allocations: 27.2 kB / 0.7225 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.7137, allocations: 108.6 kB / 0.7226 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.7138, allocations: 52.66 kB / 0.7226 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.7138, allocations: 4.25 kB / 0.7226 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.7142, allocations: 169.6 kB / 0.7228 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.7143, allocations: 21.42 kB / 0.7228 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.7143, allocations: 41.95 kB / 0.7229 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.7146, allocations: 140.8 kB / 0.723 GB, free: 4.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7146, allocations: 0 / 0.723 GB, free: 4.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7147, allocations: 0 / 0.723 GB, free: 4.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7147, allocations: 0 / 0.723 GB, free: 4.973 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009541/0.7156, allocations: 460.5 kB / 0.7234 GB, free: 4.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7157, allocations: 10.66 kB / 0.7234 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.7157, allocations: 44.11 kB / 0.7235 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.7164, allocations: 52.95 kB / 0.7235 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.7166, allocations: 194.4 kB / 0.7237 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.7166, allocations: 3.312 kB / 0.7237 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.7167, allocations: 9.844 kB / 0.7237 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.7172, allocations: 194.5 kB / 0.7239 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7172, allocations: 0 / 0.7239 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.7173, allocations: 5.625 kB / 0.7239 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7173, allocations: 4.031 kB / 0.7239 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.7178, allocations: 167.5 kB / 0.7241 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.7193, allocations: 0.827 MB / 0.7249 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.7198, allocations: 148 kB / 0.725 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.7199, allocations: 4.906 kB / 0.725 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.7199, allocations: 36.5 kB / 0.7251 GB, free: 3.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.7199, allocations: 0 / 0.7251 GB, free: 3.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.002111/0.7221, allocations: 495.1 kB / 0.7256 GB, free: 3.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.7221, allocations: 51.41 kB / 0.7256 GB, free: 3.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.7223, allocations: 142.3 kB / 0.7257 GB, free: 2.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.7223, allocations: 27.77 kB / 0.7258 GB, free: 2.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.7224, allocations: 112.2 kB / 0.7259 GB, free: 2.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.7224, allocations: 29.73 kB / 0.7259 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.7224, allocations: 0 / 0.7259 GB, free: 2.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7226, allocations: 324.6 kB / 0.7262 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.7228, allocations: 78.81 kB / 0.7263 GB, free: 2.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.7231, allocations: 114.6 kB / 0.7264 GB, free: 2.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.7234, allocations: 86.81 kB / 0.7265 GB, free: 2.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7234, allocations: 5.25 kB / 0.7265 GB, free: 2.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001119/0.7246, allocations: 298 kB / 0.7268 GB, free: 2.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7246, allocations: 6.781 kB / 0.7268 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7246, allocations: 1.344 kB / 0.7268 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.7252, allocations: 88.2 kB / 0.7269 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.7255, allocations: 41.81 kB / 0.7269 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.7279, allocations: 1.557 MB / 0.7284 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.7282, allocations: 26.52 kB / 0.7284 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.7282, allocations: 7.234 kB / 0.7284 GB, free: 0.7812 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.7283, allocations: 123.7 kB / 0.7286 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.7284, allocations: 21.3 kB / 0.7286 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.7295, allocations: 337.7 kB / 0.7289 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7295, allocations: 0.7031 kB / 0.7289 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7296, allocations: 8.391 kB / 0.7289 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7296, allocations: 0.75 kB / 0.7289 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.7299, allocations: 240.2 kB / 0.7291 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7299, allocations: 4 kB / 0.7292 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.7301, allocations: 36.69 kB / 0.7292 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.7306, allocations: 86.45 kB / 0.7293 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.7306, allocations: 1.312 kB / 0.7293 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.7326, allocations: 1.586 MB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7326, allocations: 1.141 kB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.7337, allocations: 394.4 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.7338, allocations: 93.45 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.7338, allocations: 0.8438 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.734, allocations: 23.59 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.7341, allocations: 17.7 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.7342, allocations: 12.47 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.7343, allocations: 106.3 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7343, allocations: 0 / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003798/0.7346, allocations: 43.95 kB / 0.7315 GB, free: 14.42 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.7361, allocations: 0.9488 MB / 0.7324 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009442/0.7371, allocations: 327.7 kB / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7371, allocations: 0 / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.7376, allocations: 245.4 kB / 0.733 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.7379, allocations: 21.53 kB / 0.733 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.741, allocations: 1.62 MB / 0.7346 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.7414, allocations: 0.7085 MB / 0.7352 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000188/0.7416, allocations: 26.91 kB / 0.7353 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.7417, allocations: 36.55 kB / 0.7353 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.7417, allocations: 0 / 0.7353 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.7594, allocations: 4.227 MB / 0.7394 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.7596, allocations: 226.6 kB / 0.7397 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.569, allocations: 0 / 0.7397 GB, free: 9.594 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: