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.004251/0.004251, allocations: 97.86 kB / 15.73 MB, free: 6.055 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.001085/0.001085, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 278.7 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 98.44 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1461, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4688/0.615, allocations: 161.5 MB / 0.9236 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.6193, allocations: 3.488 MB / 0.927 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.6197, allocations: 11.94 kB / 0.927 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.6201, allocations: 139 kB / 0.9272 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.6212, allocations: 473.9 kB / 0.9276 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.6226, allocations: 0.6041 MB / 0.9282 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.6233, allocations: 0.6283 MB / 0.9288 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.6236, allocations: 227.7 kB / 0.929 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.6249, allocations: 357.3 kB / 0.9294 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.6252, allocations: 191.2 kB / 0.9296 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.6252, allocations: 24 kB / 0.9296 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.6262, allocations: 0.5535 MB / 0.9301 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6263, allocations: 91.72 kB / 0.9302 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.6265, allocations: 147.2 kB / 0.9304 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.6274, allocations: 0.562 MB / 0.9309 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6274, allocations: 4 kB / 0.9309 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6274, allocations: 4 kB / 0.9309 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6274, allocations: 0 / 0.9309 GB, free: 10.23 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.001094/0.6285, allocations: 0.6461 MB / 0.9315 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6286, allocations: 8.031 kB / 0.9315 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.6286, allocations: 58.55 kB / 0.9316 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.6291, allocations: 75.7 kB / 0.9317 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.6295, allocations: 305.5 kB / 0.932 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.6295, allocations: 16.44 kB / 0.932 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.6296, allocations: 20 kB / 0.932 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.6302, allocations: 316.1 kB / 0.9323 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6302, allocations: 0 / 0.9323 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6303, allocations: 15.94 kB / 0.9323 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6303, allocations: 7.938 kB / 0.9323 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.6309, allocations: 244.9 kB / 0.9326 GB, free: 8.418 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.001453/0.6324, allocations: 1.252 MB / 0.9338 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.6328, allocations: 178.5 kB / 0.934 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.6331, allocations: 124.8 kB / 0.9341 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.6336, allocations: 303.2 kB / 0.9344 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6337, allocations: 34.5 kB / 0.9344 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.6337, allocations: 0 / 0.9344 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.002111/0.6358, allocations: 0.5771 MB / 0.935 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.6358, allocations: 55.41 kB / 0.935 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.6361, allocations: 255 kB / 0.9353 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6361, allocations: 29.7 kB / 0.9353 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.6362, allocations: 168.3 kB / 0.9354 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.6362, allocations: 47.53 kB / 0.9355 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.6363, allocations: 45.67 kB / 0.9355 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6364, allocations: 334.8 kB / 0.9359 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.6367, allocations: 99.91 kB / 0.9359 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.637, allocations: 134.4 kB / 0.9361 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.6376, allocations: 239.2 kB / 0.9363 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6376, allocations: 0 / 0.9363 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001085/0.6387, allocations: 354 kB / 0.9366 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6387, allocations: 4 kB / 0.9366 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.6387, allocations: 7.969 kB / 0.9367 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/0.6393, allocations: 92.83 kB / 0.9367 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.6395, allocations: 39.97 kB / 0.9368 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6415, allocations: 1.72 MB / 0.9385 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.6418, allocations: 35.86 kB / 0.9385 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.6418, allocations: 4 kB / 0.9385 GB, free: 1.891 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.0001511/0.642, allocations: 142.5 kB / 0.9386 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.642, allocations: 27.84 kB / 0.9387 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.6432, allocations: 375.5 kB / 0.939 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6432, allocations: 192 / 0.939 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.6432, allocations: 0 / 0.939 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6432, allocations: 7.969 kB / 0.939 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.6449, allocations: 0.7759 MB / 0.9398 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6449, allocations: 0 / 0.9398 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.6451, allocations: 43.89 kB / 0.9398 GB, free: 460 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.6455, allocations: 76.88 kB / 0.9399 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.6455, allocations: 8.812 kB / 0.9399 GB, free: 372 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.6474, allocations: 1.737 MB / 0.9416 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6474, allocations: 8 kB / 0.9416 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6485, allocations: 450.5 kB / 0.942 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.6487, allocations: 124.8 kB / 0.9422 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.6487, allocations: 7.984 kB / 0.9422 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.649, allocations: 31.91 kB / 0.9422 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.6491, allocations: 19.92 kB / 0.9422 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.6491, allocations: 8.062 kB / 0.9422 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001637/0.6493, allocations: 182 kB / 0.9424 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6493, allocations: 0 / 0.9424 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004188/0.6497, allocations: 87.88 kB / 0.9425 GB, free: 13.54 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.001765/0.6515, allocations: 1.043 MB / 0.9435 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.6525, allocations: 362.4 kB / 0.9438 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6525, allocations: 8.188 kB / 0.9439 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.6531, allocations: 262.4 kB / 0.9441 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.6538, allocations: 134.1 kB / 0.9442 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.6583, allocations: 2.817 MB / 0.947 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6587, allocations: 0.7714 MB / 0.9477 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.6589, allocations: 58.25 kB / 0.9478 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.659, allocations: 75.41 kB / 0.9479 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.659, allocations: 3.938 kB / 0.9479 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.6869, allocations: 8.693 MB / 0.9564 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.05, allocations: 10.5 kB / 0.9564 GB, free: 15.36 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)