Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_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.0007955/0.0007956, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009205/0.0009206, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.866/1.866, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005379/0.0005379, allocations: 16.47 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3024, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002384/0.3048, allocations: 1.601 MB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7707/1.076, allocations: 141.2 MB / 0.9269 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/1.076, allocations: 0 / 0.9269 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/1.076, allocations: 17.48 kB / 0.9269 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/1.076, allocations: 56.44 kB / 0.9269 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/1.077, allocations: 216.8 kB / 0.9271 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/1.078, allocations: 234 kB / 0.9274 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/1.078, allocations: 56.05 kB / 0.9274 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/1.079, allocations: 183.1 kB / 0.9276 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/1.079, allocations: 76.39 kB / 0.9277 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/1.079, allocations: 2.781 kB / 0.9277 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005364/1.079, allocations: 172.8 kB / 0.9278 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/1.08, allocations: 28.36 kB / 0.9279 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/1.08, allocations: 53.17 kB / 0.9279 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/1.08, allocations: 198.5 kB / 0.9281 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.08, allocations: 0 / 0.9281 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.628e-06/1.08, allocations: 0 / 0.9281 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.08, allocations: 5.531 kB / 0.9281 GB, free: 5.602 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001318/1.081, allocations: 488.3 kB / 0.9286 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.081, allocations: 12.91 kB / 0.9286 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/1.082, allocations: 46.7 kB / 0.9286 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/1.082, allocations: 86.61 kB / 0.9287 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/1.083, allocations: 215.5 kB / 0.9289 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/1.083, allocations: 39.05 kB / 0.9289 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/1.083, allocations: 17.53 kB / 0.929 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/1.083, allocations: 265.8 kB / 0.9292 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.083, allocations: 2.906 kB / 0.9292 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/1.083, allocations: 8.938 kB / 0.9292 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.083, allocations: 4.906 kB / 0.9292 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/1.084, allocations: 176 kB / 0.9294 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/1.085, allocations: 1.187 MB / 0.9306 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/1.086, allocations: 207.9 kB / 0.9308 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/1.086, allocations: 76.75 kB / 0.9308 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/1.086, allocations: 7.531 kB / 0.9308 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.086, allocations: 30.56 kB / 0.9309 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/1.086, allocations: 0 / 0.9309 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002411/1.089, allocations: 0.6524 MB / 0.9315 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.089, allocations: 52.02 kB / 0.9316 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/1.089, allocations: 196.3 kB / 0.9317 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.089, allocations: 32.2 kB / 0.9318 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.089, allocations: 141.6 kB / 0.9319 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.089, allocations: 38.38 kB / 0.9319 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/1.089, allocations: 2.125 kB / 0.9319 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.09, allocations: 325.3 kB / 0.9323 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/1.09, allocations: 76.73 kB / 0.9323 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/1.09, allocations: 141.5 kB / 0.9325 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.09, allocations: 92.17 kB / 0.9326 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.09, allocations: 2.625 kB / 0.9326 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00136/1.092, allocations: 390.5 kB / 0.9329 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.092, allocations: 3.344 kB / 0.9329 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.092, allocations: 3.094 kB / 0.9329 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/1.093, allocations: 161.7 kB / 0.9331 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.093, allocations: 45.28 kB / 0.9331 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/1.097, allocations: 3.028 MB / 0.9361 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.097, allocations: 43.52 kB / 0.9361 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/1.097, allocations: 7.453 kB / 0.9361 GB, free: 16.15 MB / 0.7325 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.0001883/1.097, allocations: 131.6 kB / 0.9363 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/1.098, allocations: 12.8 kB / 0.9363 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/1.099, allocations: 387.8 kB / 0.9366 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.099, allocations: 3.625 kB / 0.9366 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.099, allocations: 0 / 0.9366 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.099, allocations: 1.312 kB / 0.9366 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/1.099, allocations: 275.5 kB / 0.9369 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.099, allocations: 3.922 kB / 0.9369 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.1, allocations: 24.62 kB / 0.9369 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009338/1.1, allocations: 163 kB / 0.9371 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.1, allocations: 6.688 kB / 0.9371 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/1.105, allocations: 3.077 MB / 0.9401 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.105, allocations: 0 / 0.9401 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.106, allocations: 446.3 kB / 0.9405 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.106, allocations: 112.9 kB / 0.9406 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/1.106, allocations: 7.766 kB / 0.9406 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.106, allocations: 16.97 kB / 0.9407 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/1.106, allocations: 20.02 kB / 0.9407 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/1.106, allocations: 11.66 kB / 0.9407 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001822/1.107, allocations: 150.4 kB / 0.9408 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.107, allocations: 0 / 0.9408 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005259/1.107, allocations: 72.19 kB / 0.9409 GB, free: 12.77 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 (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.001837/1.109, allocations: 0.9856 MB / 0.9419 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.11, allocations: 466.8 kB / 0.9423 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.11, allocations: 1.156 kB / 0.9423 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/1.111, allocations: 360.8 kB / 0.9427 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/1.111, allocations: 52.77 kB / 0.9427 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.115, allocations: 1.316 MB / 0.944 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.115, allocations: 0.7383 MB / 0.9447 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002413/1.115, allocations: 41.22 kB / 0.9448 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.115, allocations: 51.09 kB / 0.9448 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/1.115, allocations: 0 / 0.9448 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.137, allocations: 6.667 MB / 0.9513 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.137, allocations: 237.1 kB / 0.9515 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/3.131, allocations: 0 / 0.9515 GB, free: 9.586 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: