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.004871/0.004871, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.00127/0.00127, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.333/1.333, 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.002434/0.002434, allocations: 283.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.153/1.153, allocations: 178.6 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 91.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3683, allocations: 89.13 MB / 0.7814 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1747/0.5431, allocations: 161.5 MB / 0.9391 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.548, allocations: 3.495 MB / 0.9425 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.5483, allocations: 15.88 kB / 0.9425 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.5487, allocations: 135 kB / 0.9426 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.5499, allocations: 449.9 kB / 0.943 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.5516, allocations: 0.5953 MB / 0.9436 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.5523, allocations: 0.6283 MB / 0.9442 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.5527, allocations: 224.6 kB / 0.9445 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.5539, allocations: 338.8 kB / 0.9448 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.5542, allocations: 199.1 kB / 0.945 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.5543, allocations: 27.98 kB / 0.945 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009304/0.5552, allocations: 0.5457 MB / 0.9455 GB, free: 28 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.5554, allocations: 99.7 kB / 0.9456 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.5555, allocations: 143.3 kB / 0.9458 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.5563, allocations: 0.5587 MB / 0.9463 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5563, allocations: 0 / 0.9463 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5563, allocations: 0 / 0.9463 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5564, allocations: 0 / 0.9463 GB, free: 15.23 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.001086/0.5575, allocations: 0.6461 MB / 0.9469 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5575, allocations: 8.031 kB / 0.9469 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/0.5576, allocations: 58.53 kB / 0.947 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.5581, allocations: 75.7 kB / 0.9471 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.5585, allocations: 313.5 kB / 0.9474 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.5585, allocations: 16.44 kB / 0.9474 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.5585, allocations: 16 kB / 0.9474 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.5592, allocations: 320.1 kB / 0.9477 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5592, allocations: 0 / 0.9477 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.5592, allocations: 12 kB / 0.9477 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5593, allocations: 7.938 kB / 0.9477 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.5599, allocations: 252.6 kB / 0.948 GB, free: 13.42 MB / 0.7169 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.001558/0.5615, allocations: 1.237 MB / 0.9492 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.562, allocations: 178.5 kB / 0.9493 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.5623, allocations: 120.8 kB / 0.9495 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/0.5629, allocations: 311.2 kB / 0.9498 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5629, allocations: 34.56 kB / 0.9498 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.5629, allocations: 3.938 kB / 0.9498 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.002207/0.5651, allocations: 0.5732 MB / 0.9504 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.5652, allocations: 55.41 kB / 0.9504 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.5654, allocations: 263 kB / 0.9507 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5655, allocations: 25.7 kB / 0.9507 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5656, allocations: 168.3 kB / 0.9508 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.5657, allocations: 51.56 kB / 0.9509 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.5657, allocations: 41.59 kB / 0.9509 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5659, allocations: 338.8 kB / 0.9513 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.5662, allocations: 95.91 kB / 0.9513 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.5665, allocations: 132.2 kB / 0.9515 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.5671, allocations: 243 kB / 0.9517 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5671, allocations: 0 / 0.9517 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001153/0.5683, allocations: 358 kB / 0.952 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5683, allocations: 4 kB / 0.952 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5683, allocations: 3.938 kB / 0.9521 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.5689, allocations: 92.88 kB / 0.9521 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.5692, allocations: 39.97 kB / 0.9522 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.5715, allocations: 1.726 MB / 0.9539 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.5717, allocations: 35.86 kB / 0.9539 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5718, allocations: 8.25 kB / 0.9539 GB, free: 6.891 MB / 0.7169 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.0001559/0.5719, allocations: 141.8 kB / 0.954 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.572, allocations: 27.84 kB / 0.9541 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.5732, allocations: 371.9 kB / 0.9544 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5732, allocations: 0 / 0.9544 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.5732, allocations: 0 / 0.9544 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5732, allocations: 4 kB / 0.9544 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.5749, allocations: 0.7747 MB / 0.9552 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5749, allocations: 4 kB / 0.9552 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.5751, allocations: 35.91 kB / 0.9552 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.5755, allocations: 84.8 kB / 0.9553 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.5756, allocations: 8 kB / 0.9553 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.5776, allocations: 1.731 MB / 0.957 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5776, allocations: 0 / 0.957 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5788, allocations: 458.5 kB / 0.9574 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5789, allocations: 128.8 kB / 0.9576 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.5789, allocations: 3.938 kB / 0.9576 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5792, allocations: 23.97 kB / 0.9576 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.5793, allocations: 23.91 kB / 0.9576 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5793, allocations: 8 kB / 0.9576 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001775/0.5795, allocations: 186 kB / 0.9578 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5795, allocations: 0 / 0.9578 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003893/0.5799, allocations: 83.89 kB / 0.9579 GB, free: 2.539 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.001739/0.5816, allocations: 1.044 MB / 0.9589 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.5827, allocations: 378.4 kB / 0.9593 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5827, allocations: 0 / 0.9593 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.5833, allocations: 254.7 kB / 0.9595 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.584, allocations: 119.7 kB / 0.9596 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.5888, allocations: 2.827 MB / 0.9624 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5893, allocations: 0.7714 MB / 0.9631 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000207/0.5895, allocations: 58.25 kB / 0.9632 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.5896, allocations: 83.34 kB / 0.9633 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.5896, allocations: 0 / 0.9633 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.6266, allocations: 8.703 MB / 0.9718 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.95, allocations: 4.062 kB / 0.9718 GB, free: 4.352 MB / 0.7325 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)