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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 271.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 104.9 kB / 0.5954 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.158, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.444/0.602, allocations: 161.5 MB / 0.838 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004229/0.6062, allocations: 3.487 MB / 0.8414 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.6067, allocations: 11.38 kB / 0.8414 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.6072, allocations: 140 kB / 0.8415 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.6084, allocations: 451.7 kB / 0.842 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6099, allocations: 0.5896 MB / 0.8425 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.6106, allocations: 0.626 MB / 0.8431 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.6109, allocations: 231.7 kB / 0.8434 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.6121, allocations: 346.7 kB / 0.8437 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.6123, allocations: 198.7 kB / 0.8439 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.6124, allocations: 23 kB / 0.8439 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009836/0.6134, allocations: 0.5369 MB / 0.8444 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.6135, allocations: 102.4 kB / 0.8445 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.6136, allocations: 146.5 kB / 0.8447 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.6144, allocations: 0.5484 MB / 0.8452 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6144, allocations: 1.375 kB / 0.8452 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6144, allocations: 0 / 0.8452 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6144, allocations: 0 / 0.8452 GB, free: 14.95 MB / 0.5762 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.0009882/0.6154, allocations: 0.6376 MB / 0.8458 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6155, allocations: 9.469 kB / 0.8458 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.6155, allocations: 58.48 kB / 0.8459 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.6161, allocations: 79.09 kB / 0.846 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.6164, allocations: 300.5 kB / 0.8463 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6164, allocations: 13.72 kB / 0.8463 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.6165, allocations: 20.88 kB / 0.8463 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.6171, allocations: 310 kB / 0.8466 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6171, allocations: 3.938 kB / 0.8466 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.6171, allocations: 10.81 kB / 0.8466 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6172, allocations: 9.031 kB / 0.8466 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.6178, allocations: 241.4 kB / 0.8468 GB, free: 13.66 MB / 0.5762 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.001513/0.6193, allocations: 1.254 MB / 0.8481 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.6198, allocations: 168.5 kB / 0.8482 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.6201, allocations: 124.3 kB / 0.8483 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.6207, allocations: 302.5 kB / 0.8486 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6207, allocations: 39.59 kB / 0.8487 GB, free: 12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.6207, allocations: 0 / 0.8487 GB, free: 12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002184/0.6229, allocations: 0.5752 MB / 0.8492 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.623, allocations: 53.47 kB / 0.8493 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.6232, allocations: 265.4 kB / 0.8495 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6232, allocations: 29.7 kB / 0.8496 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.6233, allocations: 164.1 kB / 0.8497 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.6234, allocations: 51.7 kB / 0.8498 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.6235, allocations: 34.94 kB / 0.8498 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6236, allocations: 336.4 kB / 0.8501 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.6239, allocations: 93.75 kB / 0.8502 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.6242, allocations: 140 kB / 0.8503 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.6248, allocations: 235.6 kB / 0.8506 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6248, allocations: 0 / 0.8506 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.6259, allocations: 366.1 kB / 0.8509 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6259, allocations: 5.938 kB / 0.8509 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6259, allocations: 6.484 kB / 0.8509 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.6265, allocations: 88.61 kB / 0.851 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.6267, allocations: 40.09 kB / 0.8511 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.6288, allocations: 1.733 MB / 0.8527 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.6291, allocations: 32.22 kB / 0.8528 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.6291, allocations: 5.438 kB / 0.8528 GB, free: 8.609 MB / 0.5762 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.0001387/0.6292, allocations: 145.9 kB / 0.8529 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.6293, allocations: 32.89 kB / 0.853 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.6304, allocations: 355.7 kB / 0.8533 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6304, allocations: 2.656 kB / 0.8533 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.6305, allocations: 0 / 0.8533 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6305, allocations: 3.984 kB / 0.8533 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.632, allocations: 0.7819 MB / 0.8541 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6321, allocations: 0 / 0.8541 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.6323, allocations: 37.61 kB / 0.8541 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.6327, allocations: 76.78 kB / 0.8542 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.6327, allocations: 10.56 kB / 0.8542 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.6346, allocations: 1.749 MB / 0.8559 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6346, allocations: 2.719 kB / 0.8559 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.6357, allocations: 458.8 kB / 0.8563 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.6358, allocations: 116.2 kB / 0.8564 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.6359, allocations: 10.7 kB / 0.8564 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.6362, allocations: 24.09 kB / 0.8565 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.6362, allocations: 15.36 kB / 0.8565 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.6363, allocations: 10.41 kB / 0.8565 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001611/0.6364, allocations: 189.1 kB / 0.8567 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6364, allocations: 0 / 0.8567 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004079/0.6368, allocations: 83.67 kB / 0.8568 GB, free: 5.289 MB / 0.5762 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.001573/0.6384, allocations: 1.038 MB / 0.8578 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009657/0.6394, allocations: 366.2 kB / 0.8581 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6394, allocations: 0 / 0.8581 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.64, allocations: 262.7 kB / 0.8584 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.6407, allocations: 132.5 kB / 0.8585 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.6452, allocations: 2.817 MB / 0.8612 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.6455, allocations: 0.7715 MB / 0.862 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.6458, allocations: 48.8 kB / 0.862 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6459, allocations: 79.94 kB / 0.8621 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.6459, allocations: 0 / 0.8621 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.682, allocations: 8.602 MB / 0.8705 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.48, allocations: 3.984 kB / 0.8705 GB, free: 12.74 MB / 0.5919 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)