Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_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.001046/0.001046, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008651/0.008651, allocations: 173.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005395, allocations: 16.66 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2338, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002113/0.2359, allocations: 1.414 MB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5984/0.8343, allocations: 145.8 MB / 0.9317 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.8345, allocations: 0 / 0.9317 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.8348, allocations: 23.64 kB / 0.9318 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.8351, allocations: 41.39 kB / 0.9318 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.8358, allocations: 162.5 kB / 0.9319 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.8361, allocations: 145.8 kB / 0.9321 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.8362, allocations: 26.16 kB / 0.9321 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.8385, allocations: 164.9 kB / 0.9323 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.8387, allocations: 51.39 kB / 0.9323 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.8388, allocations: 6.812 kB / 0.9323 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.8392, allocations: 161.8 kB / 0.9325 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.8392, allocations: 28.83 kB / 0.9325 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.932e-05/0.8393, allocations: 63.97 kB / 0.9326 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.8397, allocations: 193.9 kB / 0.9328 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8397, allocations: 0 / 0.9328 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8397, allocations: 0 / 0.9328 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8397, allocations: 1.75 kB / 0.9328 GB, free: 1.285 MB / 0.7169 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.00111/0.8409, allocations: 452.2 kB / 0.9332 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.8409, allocations: 9 kB / 0.9332 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.25e-05/0.841, allocations: 44.86 kB / 0.9332 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006986/0.8417, allocations: 57.36 kB / 0.9333 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.842, allocations: 205.5 kB / 0.9335 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.842, allocations: 3 kB / 0.9335 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.842, allocations: 9.25 kB / 0.9335 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.8425, allocations: 192.6 kB / 0.9337 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8425, allocations: 3.938 kB / 0.9337 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.8425, allocations: 6.344 kB / 0.9337 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8425, allocations: 1.5 kB / 0.9337 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.843, allocations: 171.6 kB / 0.9339 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.8441, allocations: 0.8297 MB / 0.9347 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.8445, allocations: 145 kB / 0.9348 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.8447, allocations: 94.84 kB / 0.9349 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.8448, allocations: 0 / 0.9349 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.8448, allocations: 33.19 kB / 0.9349 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.8448, allocations: 0 / 0.9349 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001884/0.8467, allocations: 494.4 kB / 0.9354 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.8467, allocations: 51.41 kB / 0.9354 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.8468, allocations: 148 kB / 0.9356 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.8469, allocations: 31.95 kB / 0.9356 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.8469, allocations: 102.6 kB / 0.9357 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.8469, allocations: 33.72 kB / 0.9358 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.847, allocations: 16.22 kB / 0.9358 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.8471, allocations: 321.8 kB / 0.9361 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.8473, allocations: 81.41 kB / 0.9362 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.8476, allocations: 120.3 kB / 0.9363 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.848, allocations: 199.1 kB / 0.9365 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8481, allocations: 0 / 0.9365 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009774/0.849, allocations: 303.3 kB / 0.9367 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8491, allocations: 9.188 kB / 0.9368 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8491, allocations: 2.625 kB / 0.9368 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.8496, allocations: 87.02 kB / 0.9368 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.8499, allocations: 39.8 kB / 0.9369 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.8518, allocations: 1.552 MB / 0.9384 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.8521, allocations: 35.16 kB / 0.9384 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8521, allocations: 5.062 kB / 0.9384 GB, free: 13.48 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.8523, allocations: 125.8 kB / 0.9386 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.8523, allocations: 12.03 kB / 0.9386 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.8534, allocations: 329 kB / 0.9389 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.8534, allocations: 5.344 kB / 0.9389 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.8534, allocations: 0 / 0.9389 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8534, allocations: 3.938 kB / 0.9389 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.8537, allocations: 239.3 kB / 0.9391 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8537, allocations: 0.5 kB / 0.9391 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.8539, allocations: 42.3 kB / 0.9392 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.8544, allocations: 88.94 kB / 0.9392 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.8545, allocations: 7.406 kB / 0.9392 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.8562, allocations: 1.574 MB / 0.9408 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8562, allocations: 1.719 kB / 0.9408 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.8572, allocations: 398.1 kB / 0.9412 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.8573, allocations: 90.88 kB / 0.9413 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.8573, allocations: 4.844 kB / 0.9413 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.8575, allocations: 20.38 kB / 0.9413 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.8576, allocations: 16.2 kB / 0.9413 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.8576, allocations: 5.938 kB / 0.9413 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.339e-05/0.8577, allocations: 104 kB / 0.9414 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8577, allocations: 1.594 kB / 0.9414 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003655/0.8581, allocations: 55.94 kB / 0.9415 GB, free: 11.41 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.8597, allocations: 0.9411 MB / 0.9424 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009224/0.8606, allocations: 333.4 kB / 0.9427 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8606, allocations: 0 / 0.9427 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.8612, allocations: 248.3 kB / 0.9429 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.8615, allocations: 27.47 kB / 0.943 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.8662, allocations: 2.141 MB / 0.945 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.8667, allocations: 0.7083 MB / 0.9457 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.8669, allocations: 32.62 kB / 0.9458 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.867, allocations: 34.12 kB / 0.9458 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.867, allocations: 0 / 0.9458 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.8843, allocations: 4.215 MB / 0.9499 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.8845, allocations: 251.7 kB / 0.9502 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.735, allocations: 4 kB / 0.9502 GB, free: 7.805 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)