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.001332/0.001332, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 196.2 kB / 16.64 MB, free: 6.59 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001431/0.001431, allocations: 76.38 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.23, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002894/0.233, allocations: 1.697 MB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5597/0.7927, allocations: 149.6 MB / 0.9314 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.7929, allocations: 0 / 0.9314 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.7931, allocations: 23.62 kB / 0.9314 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.7934, allocations: 51.05 kB / 0.9315 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.7938, allocations: 184.2 kB / 0.9317 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.794, allocations: 158.5 kB / 0.9318 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.7941, allocations: 26.88 kB / 0.9318 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.7953, allocations: 190.6 kB / 0.932 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.7954, allocations: 58.56 kB / 0.9321 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.7954, allocations: 13.91 kB / 0.9321 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.7957, allocations: 163 kB / 0.9323 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.7957, allocations: 29.83 kB / 0.9323 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.7958, allocations: 45.47 kB / 0.9323 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.7961, allocations: 199.2 kB / 0.9325 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7961, allocations: 0 / 0.9325 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7961, allocations: 3.219 kB / 0.9325 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7961, allocations: 0 / 0.9325 GB, free: 2.828 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.0008442/0.7969, allocations: 457.4 kB / 0.933 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.797, allocations: 9.25 kB / 0.933 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.797, allocations: 39.41 kB / 0.933 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.7976, allocations: 55.05 kB / 0.9331 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.7978, allocations: 205 kB / 0.9332 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.7978, allocations: 6.797 kB / 0.9333 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.7978, allocations: 7.938 kB / 0.9333 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.7983, allocations: 193.9 kB / 0.9334 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7983, allocations: 0 / 0.9334 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.7983, allocations: 2.906 kB / 0.9334 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7983, allocations: 0 / 0.9334 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.7988, allocations: 148 kB / 0.9336 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009497/0.7997, allocations: 0.8233 MB / 0.9344 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.8001, allocations: 136.7 kB / 0.9345 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.8003, allocations: 78.48 kB / 0.9346 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8003, allocations: 0 / 0.9346 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.8004, allocations: 38.94 kB / 0.9346 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.8004, allocations: 1.203 kB / 0.9346 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001682/0.8021, allocations: 465 kB / 0.9351 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8021, allocations: 51.41 kB / 0.9351 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.8022, allocations: 148.1 kB / 0.9353 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.8022, allocations: 25.7 kB / 0.9353 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.8023, allocations: 109.5 kB / 0.9354 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.8023, allocations: 26.44 kB / 0.9354 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.8024, allocations: 38.48 kB / 0.9355 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.8025, allocations: 317.4 kB / 0.9358 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.8027, allocations: 73.38 kB / 0.9358 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.803, allocations: 102.3 kB / 0.9359 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.8034, allocations: 174.5 kB / 0.9361 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8034, allocations: 0.6875 kB / 0.9361 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009104/0.8043, allocations: 279.5 kB / 0.9364 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8043, allocations: 11.22 kB / 0.9364 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8044, allocations: 1.094 kB / 0.9364 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.8049, allocations: 92.95 kB / 0.9365 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.8051, allocations: 38.03 kB / 0.9365 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.8069, allocations: 1.665 MB / 0.9381 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.8071, allocations: 14.09 kB / 0.9381 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8071, allocations: 6.906 kB / 0.9381 GB, free: 14.95 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 9.85e-05/0.8073, allocations: 134.8 kB / 0.9383 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.8073, allocations: 10.03 kB / 0.9383 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009897/0.8083, allocations: 314.1 kB / 0.9386 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.8083, allocations: 0 / 0.9386 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.8083, allocations: 1.203 kB / 0.9386 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.8083, allocations: 1.688 kB / 0.9386 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.8085, allocations: 236.1 kB / 0.9388 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8086, allocations: 0 / 0.9388 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8087, allocations: 31.09 kB / 0.9388 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.8091, allocations: 71.38 kB / 0.9389 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8092, allocations: 14.16 kB / 0.9389 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.8107, allocations: 1.683 MB / 0.9406 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8108, allocations: 4.062 kB / 0.9406 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.8117, allocations: 382.6 kB / 0.9409 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.8117, allocations: 83.23 kB / 0.941 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.8118, allocations: 3.312 kB / 0.941 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.812, allocations: 23.83 kB / 0.941 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.812, allocations: 19.75 kB / 0.9411 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.812, allocations: 2.531 kB / 0.9411 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.8121, allocations: 108.4 kB / 0.9412 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8121, allocations: 3.094 kB / 0.9412 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003059/0.8124, allocations: 48.86 kB / 0.9412 GB, free: 12.8 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.001239/0.8137, allocations: 0.9269 MB / 0.9421 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008353/0.8145, allocations: 309.8 kB / 0.9424 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8145, allocations: 0 / 0.9424 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.815, allocations: 230.4 kB / 0.9426 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.8153, allocations: 25.08 kB / 0.9427 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.8188, allocations: 2.052 MB / 0.9447 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.8191, allocations: 0.7064 MB / 0.9454 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.8192, allocations: 27.88 kB / 0.9454 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.8193, allocations: 35.52 kB / 0.9454 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8193, allocations: 0.5938 kB / 0.9454 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.8417, allocations: 4.705 MB / 0.95 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.45, allocations: 8.844 kB / 0.95 GB, free: 9.281 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)