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.001478/0.001478, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001772/0.001772, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.586 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.738/1.738, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.002232/0.002232, allocations: 68.61 kB / 0.6711 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2203, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5583/0.7786, allocations: 159.3 MB / 0.9385 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004061/0.7827, allocations: 3.458 MB / 0.9419 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.7831, allocations: 8.375 kB / 0.9419 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.7836, allocations: 113.2 kB / 0.942 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.7848, allocations: 417 kB / 0.9424 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.7864, allocations: 0.5453 MB / 0.9429 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.787, allocations: 0.6204 MB / 0.9435 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.7874, allocations: 216 kB / 0.9438 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.7888, allocations: 350.8 kB / 0.9441 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.7891, allocations: 201.5 kB / 0.9443 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.7892, allocations: 21.56 kB / 0.9443 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009523/0.7901, allocations: 0.5672 MB / 0.9449 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7902, allocations: 101.7 kB / 0.945 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.7904, allocations: 138 kB / 0.9451 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008164/0.7912, allocations: 0.5829 MB / 0.9457 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7912, allocations: 3.812 kB / 0.9457 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7912, allocations: 5.203 kB / 0.9457 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.7913, allocations: 0 / 0.9457 GB, free: 5.859 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001281/0.7926, allocations: 0.6287 MB / 0.9463 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7926, allocations: 11.19 kB / 0.9463 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.7927, allocations: 58.75 kB / 0.9463 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.7932, allocations: 77 kB / 0.9464 GB, free: 21.33 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.7936, allocations: 289.4 kB / 0.9467 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7936, allocations: 16 kB / 0.9467 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.7936, allocations: 17.28 kB / 0.9467 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.7943, allocations: 319.5 kB / 0.947 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7943, allocations: 0 / 0.947 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.7943, allocations: 7.062 kB / 0.947 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.7944, allocations: 6.812 kB / 0.947 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.795, allocations: 251.7 kB / 0.9473 GB, free: 21.02 MB / 0.7481 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.001616/0.7966, allocations: 1.244 MB / 0.9485 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.797, allocations: 174 kB / 0.9487 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.7973, allocations: 125.3 kB / 0.9488 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.798, allocations: 302.8 kB / 0.9491 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.798, allocations: 31.36 kB / 0.9491 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.798, allocations: 0 / 0.9491 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002149/0.8002, allocations: 0.5783 MB / 0.9497 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8002, allocations: 53.03 kB / 0.9497 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.8005, allocations: 260.2 kB / 0.95 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.8005, allocations: 33.73 kB / 0.95 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.8007, allocations: 165.4 kB / 0.9502 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.8007, allocations: 50.22 kB / 0.9502 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.8008, allocations: 39.62 kB / 0.9502 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8009, allocations: 331.3 kB / 0.9506 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.8013, allocations: 96.89 kB / 0.9506 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.8016, allocations: 139.9 kB / 0.9508 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.8023, allocations: 233.8 kB / 0.951 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8023, allocations: 2.906 kB / 0.951 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/0.8035, allocations: 355 kB / 0.9513 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.8035, allocations: 13.28 kB / 0.9514 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8036, allocations: 2.797 kB / 0.9514 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.8042, allocations: 86.97 kB / 0.9514 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.8045, allocations: 46.34 kB / 0.9515 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.8067, allocations: 1.719 MB / 0.9532 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.807, allocations: 40.17 kB / 0.9532 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.807, allocations: 7.812 kB / 0.9532 GB, free: 17.39 MB / 0.7481 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.0001825/0.8072, allocations: 152.4 kB / 0.9534 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.8073, allocations: 25.16 kB / 0.9534 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.8085, allocations: 359.3 kB / 0.9537 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8085, allocations: 2.703 kB / 0.9537 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.8085, allocations: 4.25 kB / 0.9537 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8085, allocations: 0 / 0.9537 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.8102, allocations: 0.7726 MB / 0.9545 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8102, allocations: 1.688 kB / 0.9545 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.8104, allocations: 37.61 kB / 0.9545 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.8108, allocations: 80.5 kB / 0.9546 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.8109, allocations: 8 kB / 0.9546 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.8128, allocations: 1.743 MB / 0.9563 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8128, allocations: 4.703 kB / 0.9563 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.8141, allocations: 455.4 kB / 0.9567 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.8142, allocations: 121.6 kB / 0.9569 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.8142, allocations: 2.156 kB / 0.9569 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.8145, allocations: 34.34 kB / 0.9569 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.8146, allocations: 15.72 kB / 0.9569 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.8146, allocations: 12.89 kB / 0.9569 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000221/0.8149, allocations: 183.7 kB / 0.9571 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8149, allocations: 0 / 0.9571 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005161/0.8154, allocations: 84.62 kB / 0.9572 GB, free: 15.07 MB / 0.7481 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.00183/0.8172, allocations: 1.044 MB / 0.9582 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.8184, allocations: 380.3 kB / 0.9586 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8184, allocations: 2.906 kB / 0.9586 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/0.819, allocations: 253.3 kB / 0.9588 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.8198, allocations: 130.4 kB / 0.9589 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.8245, allocations: 2.885 MB / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.8249, allocations: 0.769 MB / 0.9625 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.8251, allocations: 58.78 kB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8252, allocations: 75.83 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of SimCode: time 1.213e-06/0.8253, allocations: 0 / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.8505, allocations: 8.32 MB / 0.9708 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.8508, allocations: 269.1 kB / 0.971 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.801, allocations: 0 / 0.971 GB, free: 10.74 MB / 0.7481 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)