Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_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.00628/0.00628, allocations: 102 kB / 15.73 MB, free: 6.039 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.001403/0.001404, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 303.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8866/0.8866, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 95.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4032, allocations: 86.99 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1618/0.565, allocations: 161.5 MB / 0.9236 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004799/0.5698, allocations: 3.493 MB / 0.927 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.5702, allocations: 11.94 kB / 0.927 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.5707, allocations: 134.9 kB / 0.9272 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.5721, allocations: 453.8 kB / 0.9276 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.5735, allocations: 0.5955 MB / 0.9282 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.5744, allocations: 0.6244 MB / 0.9288 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.5748, allocations: 232.7 kB / 0.929 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.5761, allocations: 344.3 kB / 0.9293 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.5764, allocations: 199.2 kB / 0.9295 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.5765, allocations: 20 kB / 0.9296 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.5774, allocations: 0.5379 MB / 0.9301 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5776, allocations: 103.7 kB / 0.9302 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.5778, allocations: 151.2 kB / 0.9303 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009668/0.5787, allocations: 0.5531 MB / 0.9309 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5788, allocations: 0 / 0.9309 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5788, allocations: 0 / 0.9309 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.5788, allocations: 0 / 0.9309 GB, free: 10.31 MB / 0.7012 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.001181/0.58, allocations: 0.6427 MB / 0.9315 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.58, allocations: 8.031 kB / 0.9315 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.5801, allocations: 58.55 kB / 0.9316 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.5806, allocations: 79.5 kB / 0.9316 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.5811, allocations: 309.3 kB / 0.9319 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5811, allocations: 20.44 kB / 0.9319 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.5811, allocations: 16 kB / 0.932 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.5818, allocations: 316.1 kB / 0.9323 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5818, allocations: 0 / 0.9323 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.5818, allocations: 8 kB / 0.9323 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5818, allocations: 7.938 kB / 0.9323 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.5825, allocations: 252.9 kB / 0.9325 GB, free: 8.504 MB / 0.7012 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.001666/0.5841, allocations: 1.236 MB / 0.9337 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.5846, allocations: 178.5 kB / 0.9339 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5849, allocations: 128.8 kB / 0.934 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.5855, allocations: 299.2 kB / 0.9343 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5855, allocations: 34.56 kB / 0.9343 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.5855, allocations: 0 / 0.9343 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.002097/0.5876, allocations: 0.5789 MB / 0.9349 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5877, allocations: 59.34 kB / 0.935 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.5879, allocations: 255 kB / 0.9352 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.5879, allocations: 29.7 kB / 0.9352 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5881, allocations: 172.1 kB / 0.9354 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.5881, allocations: 47.28 kB / 0.9354 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.5882, allocations: 45.64 kB / 0.9355 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5883, allocations: 330.8 kB / 0.9358 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5886, allocations: 95.92 kB / 0.9359 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5889, allocations: 143.1 kB / 0.936 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.5894, allocations: 236.1 kB / 0.9362 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5894, allocations: 0 / 0.9362 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001109/0.5905, allocations: 356 kB / 0.9366 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5906, allocations: 4 kB / 0.9366 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5906, allocations: 4 kB / 0.9366 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.5912, allocations: 88.77 kB / 0.9367 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.5914, allocations: 43.95 kB / 0.9367 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.5935, allocations: 1.727 MB / 0.9384 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.5938, allocations: 31.72 kB / 0.9384 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.5938, allocations: 12 kB / 0.9385 GB, free: 1.984 MB / 0.7012 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.0001454/0.594, allocations: 141.9 kB / 0.9386 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.594, allocations: 23.72 kB / 0.9386 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.5951, allocations: 367.9 kB / 0.939 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5952, allocations: 0 / 0.939 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5952, allocations: 4 kB / 0.939 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5952, allocations: 0 / 0.939 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.5967, allocations: 0.7746 MB / 0.9397 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5967, allocations: 0 / 0.9397 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5969, allocations: 43.91 kB / 0.9398 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.5974, allocations: 80.8 kB / 0.9398 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5974, allocations: 4 kB / 0.9398 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.5993, allocations: 1.735 MB / 0.9415 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5993, allocations: 144 / 0.9415 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.6004, allocations: 466.3 kB / 0.942 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.6005, allocations: 120.8 kB / 0.9421 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.6005, allocations: 11.88 kB / 0.9421 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.6008, allocations: 23.97 kB / 0.9421 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.6009, allocations: 23.91 kB / 0.9422 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6009, allocations: 4 kB / 0.9422 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001648/0.6011, allocations: 186 kB / 0.9423 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6011, allocations: 4 kB / 0.9423 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004011/0.6015, allocations: 79.84 kB / 0.9424 GB, free: 13.64 MB / 0.7169 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.001634/0.6031, allocations: 1.043 MB / 0.9434 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009083/0.604, allocations: 366.5 kB / 0.9438 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.604, allocations: 0 / 0.9438 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.6046, allocations: 258.7 kB / 0.944 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.6053, allocations: 122.8 kB / 0.9441 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.6096, allocations: 2.812 MB / 0.9469 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.6099, allocations: 0.7752 MB / 0.9477 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.6101, allocations: 54.25 kB / 0.9477 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6102, allocations: 79.36 kB / 0.9478 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6102, allocations: 0 / 0.9478 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/0.9708, allocations: 8.841 MB / 0.9564 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.69, allocations: 12.33 kB / 0.9564 GB, free: 190.5 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)