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.0009391/0.0009391, allocations: 86.56 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.001154/0.001154, 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.97/1.97, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.818/1.818, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005863/0.0005863, allocations: 17.62 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2968, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002094/0.299, allocations: 1.391 MB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7686/1.068, allocations: 135.9 MB / 0.9215 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/1.068, allocations: 3.031 kB / 0.9215 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/1.068, allocations: 15.97 kB / 0.9215 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/1.068, allocations: 36.97 kB / 0.9215 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/1.069, allocations: 151.5 kB / 0.9217 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00032/1.07, allocations: 140.7 kB / 0.9218 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/1.07, allocations: 28.17 kB / 0.9219 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/1.07, allocations: 139.6 kB / 0.922 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/1.07, allocations: 52.06 kB / 0.922 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/1.07, allocations: 4.312 kB / 0.922 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/1.071, allocations: 154.1 kB / 0.9222 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/1.071, allocations: 19.45 kB / 0.9222 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002948/1.071, allocations: 39.17 kB / 0.9222 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/1.071, allocations: 134.5 kB / 0.9224 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.071, allocations: 1.312 kB / 0.9224 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/1.071, allocations: 0 / 0.9224 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.071, allocations: 5.781 kB / 0.9224 GB, free: 21.83 MB / 0.7325 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.0008172/1.072, allocations: 453.5 kB / 0.9228 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.072, allocations: 8.812 kB / 0.9228 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/1.072, allocations: 42.33 kB / 0.9229 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/1.073, allocations: 56.41 kB / 0.9229 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/1.073, allocations: 200.5 kB / 0.9231 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.073, allocations: 7.406 kB / 0.9231 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/1.073, allocations: 9.625 kB / 0.9231 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/1.074, allocations: 196.1 kB / 0.9233 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.074, allocations: 0 / 0.9233 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/1.074, allocations: 5.312 kB / 0.9233 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.074, allocations: 3 kB / 0.9233 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/1.075, allocations: 165.4 kB / 0.9235 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/1.076, allocations: 0.8299 MB / 0.9243 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/1.076, allocations: 140.8 kB / 0.9244 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/1.076, allocations: 91.7 kB / 0.9245 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.076, allocations: 4 kB / 0.9245 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.076, allocations: 31.12 kB / 0.9245 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/1.076, allocations: 2.625 kB / 0.9245 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001751/1.078, allocations: 496.2 kB / 0.925 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.078, allocations: 51.41 kB / 0.9251 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.078, allocations: 147.2 kB / 0.9252 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/1.078, allocations: 29.7 kB / 0.9252 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/1.078, allocations: 112.8 kB / 0.9253 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/1.078, allocations: 24.67 kB / 0.9254 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/1.078, allocations: 3.938 kB / 0.9254 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/1.078, allocations: 320.5 kB / 0.9257 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/1.079, allocations: 83.3 kB / 0.9258 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/1.079, allocations: 113.2 kB / 0.9259 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/1.079, allocations: 91.62 kB / 0.9259 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.079, allocations: 2.219 kB / 0.9259 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009406/1.08, allocations: 302.3 kB / 0.9262 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.08, allocations: 2.781 kB / 0.9262 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.08, allocations: 2.969 kB / 0.9262 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/1.081, allocations: 88.44 kB / 0.9263 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/1.081, allocations: 38.78 kB / 0.9264 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/1.083, allocations: 1.552 MB / 0.9279 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.083, allocations: 34.58 kB / 0.9279 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/1.083, allocations: 9.062 kB / 0.9279 GB, free: 18.13 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 (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.0001043/1.083, allocations: 118.8 kB / 0.928 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/1.083, allocations: 9.719 kB / 0.928 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/1.084, allocations: 334.5 kB / 0.9284 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.084, allocations: 7.703 kB / 0.9284 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/1.084, allocations: 0 / 0.9284 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.084, allocations: 0.7031 kB / 0.9284 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.085, allocations: 226.7 kB / 0.9286 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.085, allocations: 0 / 0.9286 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/1.085, allocations: 38.52 kB / 0.9286 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/1.085, allocations: 89.58 kB / 0.9287 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.085, allocations: 5.406 kB / 0.9287 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/1.087, allocations: 1.575 MB / 0.9303 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.087, allocations: 0.6094 kB / 0.9303 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/1.088, allocations: 410.7 kB / 0.9306 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/1.088, allocations: 85.77 kB / 0.9307 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/1.088, allocations: 6.266 kB / 0.9307 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.088, allocations: 22.61 kB / 0.9308 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/1.089, allocations: 17.14 kB / 0.9308 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.089, allocations: 4.453 kB / 0.9308 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.542e-05/1.089, allocations: 104.7 kB / 0.9309 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.089, allocations: 0 / 0.9309 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003706/1.089, allocations: 44.5 kB / 0.9309 GB, free: 16.1 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 (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.001303/1.09, allocations: 0.953 MB / 0.9318 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008435/1.091, allocations: 320.4 kB / 0.9322 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.091, allocations: 4.062 kB / 0.9322 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/1.092, allocations: 238.9 kB / 0.9324 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/1.092, allocations: 28.31 kB / 0.9324 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/1.094, allocations: 1.038 MB / 0.9334 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/1.095, allocations: 0.706 MB / 0.9341 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001922/1.095, allocations: 24.48 kB / 0.9341 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/1.095, allocations: 38.98 kB / 0.9342 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.095, allocations: 0 / 0.9342 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/1.116, allocations: 4.23 MB / 0.9383 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.116, allocations: 233.8 kB / 0.9385 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/3.019, allocations: 0 / 0.9385 GB, free: 13.43 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/linux/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) Environment - environmentSimulation: