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.006971/0.006971, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001702/0.001702, allocations: 192 kB / 16.67 MB, free: 5.918 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 298.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9515/0.9515, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 95.91 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1569, allocations: 86.97 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4831/0.6401, allocations: 161.5 MB / 0.9236 GB, free: 1.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.6448, allocations: 3.498 MB / 0.927 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.6451, allocations: 7.938 kB / 0.927 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.6455, allocations: 139 kB / 0.9272 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.6467, allocations: 445.9 kB / 0.9276 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.6482, allocations: 0.6046 MB / 0.9282 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007328/0.6489, allocations: 0.6244 MB / 0.9288 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.6493, allocations: 228.7 kB / 0.929 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.6506, allocations: 348.3 kB / 0.9294 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.6509, allocations: 191.2 kB / 0.9295 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.6509, allocations: 24 kB / 0.9296 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.6519, allocations: 0.5495 MB / 0.9301 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.652, allocations: 99.64 kB / 0.9302 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.6522, allocations: 139.3 kB / 0.9303 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008437/0.653, allocations: 0.562 MB / 0.9309 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.653, allocations: 0 / 0.9309 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.005e-06/0.653, allocations: 0 / 0.9309 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.653, allocations: 7.938 kB / 0.9309 GB, free: 10.17 MB / 0.6856 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.001043/0.6541, allocations: 0.6422 MB / 0.9315 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6541, allocations: 12.03 kB / 0.9315 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.6542, allocations: 54.55 kB / 0.9316 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.6547, allocations: 79.7 kB / 0.9316 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.6551, allocations: 306.4 kB / 0.9319 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6551, allocations: 12.44 kB / 0.9319 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.6552, allocations: 20 kB / 0.932 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.6558, allocations: 320.1 kB / 0.9323 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6558, allocations: 0 / 0.9323 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.6559, allocations: 4 kB / 0.9323 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.6559, allocations: 11.94 kB / 0.9323 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.6565, allocations: 244.9 kB / 0.9325 GB, free: 8.367 MB / 0.6856 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.001652/0.6582, allocations: 1.248 MB / 0.9337 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.6587, allocations: 190.4 kB / 0.9339 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.659, allocations: 122.3 kB / 0.934 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.6596, allocations: 307.2 kB / 0.9343 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.6596, allocations: 30.56 kB / 0.9344 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.6596, allocations: 3.984 kB / 0.9344 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.00215/0.6618, allocations: 0.5771 MB / 0.9349 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.6618, allocations: 51.41 kB / 0.935 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.6621, allocations: 259 kB / 0.9352 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.6621, allocations: 29.7 kB / 0.9353 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.6623, allocations: 164.3 kB / 0.9354 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.6623, allocations: 55.47 kB / 0.9355 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.6624, allocations: 37.67 kB / 0.9355 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6626, allocations: 338.8 kB / 0.9358 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.6629, allocations: 91.91 kB / 0.9359 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.6632, allocations: 140.2 kB / 0.936 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.6638, allocations: 239 kB / 0.9363 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6638, allocations: 0 / 0.9363 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001109/0.6649, allocations: 354 kB / 0.9366 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.665, allocations: 7.938 kB / 0.9366 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.665, allocations: 3.984 kB / 0.9366 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.6655, allocations: 88.89 kB / 0.9367 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6657, allocations: 35.97 kB / 0.9367 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.668, allocations: 1.725 MB / 0.9384 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.6683, allocations: 40.98 kB / 0.9385 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6683, allocations: 4 kB / 0.9385 GB, free: 1.832 MB / 0.6856 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.0001582/0.6685, allocations: 142.5 kB / 0.9386 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.6685, allocations: 28.03 kB / 0.9386 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.6697, allocations: 370.6 kB / 0.939 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6697, allocations: 4 kB / 0.939 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6697, allocations: 4 kB / 0.939 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6697, allocations: 0 / 0.939 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.6714, allocations: 0.7746 MB / 0.9397 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6714, allocations: 96 / 0.9397 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.6716, allocations: 47.83 kB / 0.9398 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.672, allocations: 76.78 kB / 0.9399 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.672, allocations: 11.94 kB / 0.9399 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.6742, allocations: 1.735 MB / 0.9416 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6742, allocations: 0 / 0.9416 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.6753, allocations: 454.5 kB / 0.942 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6755, allocations: 124.8 kB / 0.9421 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6755, allocations: 7.984 kB / 0.9421 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.6758, allocations: 27.91 kB / 0.9422 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.6759, allocations: 19.92 kB / 0.9422 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6759, allocations: 8 kB / 0.9422 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002002/0.6761, allocations: 186 kB / 0.9424 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6761, allocations: 0 / 0.9424 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004248/0.6766, allocations: 87.88 kB / 0.9424 GB, free: 13.48 MB / 0.7012 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.001771/0.6783, allocations: 1.045 MB / 0.9435 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001/0.6794, allocations: 366.3 kB / 0.9438 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6794, allocations: 0 / 0.9438 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.68, allocations: 262.9 kB / 0.9441 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.6807, allocations: 129 kB / 0.9442 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.6855, allocations: 2.816 MB / 0.9469 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.6859, allocations: 0.7714 MB / 0.9477 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.6861, allocations: 58.19 kB / 0.9477 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6863, allocations: 83.41 kB / 0.9478 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.6863, allocations: 4 kB / 0.9478 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.7233, allocations: 8.7 MB / 0.9563 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.87, allocations: 10.09 kB / 0.9563 GB, free: 15.3 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)