Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001169/0.001169, allocations: 105.4 kB / 15.7 MB, free: 24 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.001523/0.001523, allocations: 192.3 kB / 16.64 MB, free: 6.594 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.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 4.605 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.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001432/0.001432, allocations: 80.95 kB / 0.6718 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2323, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6689/0.9013, allocations: 161.5 MB / 0.9413 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.9061, allocations: 3.475 MB / 0.9447 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.9066, allocations: 10.94 kB / 0.9447 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.9072, allocations: 142.1 kB / 0.9449 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.9087, allocations: 448.2 kB / 0.9453 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.9105, allocations: 0.5914 MB / 0.9459 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.9114, allocations: 0.6258 MB / 0.9465 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.9119, allocations: 223 kB / 0.9467 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.9134, allocations: 337 kB / 0.947 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.9138, allocations: 195.3 kB / 0.9472 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.9138, allocations: 29.09 kB / 0.9472 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.9151, allocations: 0.5429 MB / 0.9478 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.9153, allocations: 101.9 kB / 0.9479 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.9155, allocations: 143.4 kB / 0.948 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.9168, allocations: 0.5511 MB / 0.9485 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9168, allocations: 4.469 kB / 0.9485 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9168, allocations: 0.5938 kB / 0.9486 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.9168, allocations: 0 / 0.9486 GB, free: 1.344 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001318/0.9181, allocations: 0.6318 MB / 0.9492 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.9182, allocations: 9.719 kB / 0.9492 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.659e-05/0.9183, allocations: 58.19 kB / 0.9492 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.9189, allocations: 75.61 kB / 0.9493 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.9194, allocations: 306.2 kB / 0.9496 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.9194, allocations: 15.72 kB / 0.9496 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.9195, allocations: 19.97 kB / 0.9496 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.9202, allocations: 312.7 kB / 0.9499 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9202, allocations: 0.6562 kB / 0.9499 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.9203, allocations: 10.3 kB / 0.9499 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.9203, allocations: 9.281 kB / 0.9499 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.921, allocations: 252.3 kB / 0.9502 GB, free: 16.48 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.9227, allocations: 1.238 MB / 0.9514 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.9231, allocations: 178.7 kB / 0.9516 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.9234, allocations: 122.7 kB / 0.9517 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.924, allocations: 307.7 kB / 0.952 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.924, allocations: 33.19 kB / 0.952 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.924, allocations: 0 / 0.952 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0022/0.9263, allocations: 0.5743 MB / 0.9526 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.9263, allocations: 56.75 kB / 0.9526 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.9266, allocations: 256.8 kB / 0.9529 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.9267, allocations: 30.45 kB / 0.9529 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.9268, allocations: 161 kB / 0.9531 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.9268, allocations: 52.95 kB / 0.9531 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.9269, allocations: 34.39 kB / 0.9531 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9271, allocations: 336.7 kB / 0.9535 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.9274, allocations: 102.2 kB / 0.9536 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.9277, allocations: 131.5 kB / 0.9537 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.9283, allocations: 243.4 kB / 0.9539 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9283, allocations: 0 / 0.9539 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00118/0.9295, allocations: 358 kB / 0.9543 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.9296, allocations: 5.625 kB / 0.9543 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9296, allocations: 0.75 kB / 0.9543 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.9301, allocations: 86.78 kB / 0.9543 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.9304, allocations: 45.11 kB / 0.9544 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.9325, allocations: 1.726 MB / 0.9561 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.9328, allocations: 40.44 kB / 0.9561 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.9329, allocations: 9 kB / 0.9561 GB, free: 12.81 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 (16): * Single equations (assignments): 15 * 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.000183/0.9331, allocations: 143.6 kB / 0.9563 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.9331, allocations: 23.72 kB / 0.9563 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.9343, allocations: 361.4 kB / 0.9566 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.9343, allocations: 2.125 kB / 0.9566 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.9343, allocations: 0 / 0.9566 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9343, allocations: 5.188 kB / 0.9566 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.936, allocations: 0.7759 MB / 0.9574 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.936, allocations: 2.391 kB / 0.9574 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.9362, allocations: 34.31 kB / 0.9574 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.9366, allocations: 81.94 kB / 0.9575 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.9366, allocations: 8.75 kB / 0.9575 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.9386, allocations: 1.742 MB / 0.9592 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9386, allocations: 1.438 kB / 0.9592 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.9397, allocations: 453.1 kB / 0.9596 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.9398, allocations: 120.7 kB / 0.9598 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.9399, allocations: 8.094 kB / 0.9598 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.9401, allocations: 25.92 kB / 0.9598 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.9402, allocations: 22.8 kB / 0.9598 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.9403, allocations: 9.156 kB / 0.9598 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002256/0.9405, allocations: 183 kB / 0.96 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9405, allocations: 1.344 kB / 0.96 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004689/0.941, allocations: 84.09 kB / 0.9601 GB, free: 10.45 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * 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.001705/0.9427, allocations: 1.038 MB / 0.9611 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009835/0.9437, allocations: 368.1 kB / 0.9614 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9437, allocations: 0 / 0.9614 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.9443, allocations: 260.6 kB / 0.9617 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.945, allocations: 126.4 kB / 0.9618 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/0.9498, allocations: 2.808 MB / 0.9646 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.9502, allocations: 0.7706 MB / 0.9653 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000262/0.9505, allocations: 57.47 kB / 0.9654 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.9506, allocations: 77 kB / 0.9654 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.9506, allocations: 0 / 0.9654 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.9815, allocations: 8.613 MB / 0.9738 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.01, allocations: 2.594 kB / 0.9738 GB, free: 4.508 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)