Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_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.001201/0.001201, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001155/0.001154, allocations: 185.1 kB / 17.2 MB, free: 5.605 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 75.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3156, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1607/0.4763, allocations: 161.5 MB / 0.725 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004751/0.4811, allocations: 3.499 MB / 0.7284 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.4815, allocations: 7.938 kB / 0.7284 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.4821, allocations: 138.9 kB / 0.7285 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.4834, allocations: 449.9 kB / 0.729 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.4851, allocations: 0.5909 MB / 0.7295 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.486, allocations: 0.6245 MB / 0.7301 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.4865, allocations: 228.6 kB / 0.7304 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.4878, allocations: 347 kB / 0.7307 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.4881, allocations: 191.2 kB / 0.7309 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.4882, allocations: 20 kB / 0.7309 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.4891, allocations: 0.5495 MB / 0.7314 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4893, allocations: 95.7 kB / 0.7315 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.4895, allocations: 139.3 kB / 0.7317 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009652/0.4904, allocations: 0.5415 MB / 0.7322 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4904, allocations: 4 kB / 0.7322 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4904, allocations: 0 / 0.7322 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.4905, allocations: 0 / 0.7322 GB, free: 1.367 MB / 0.5606 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.001127/0.4916, allocations: 0.6349 MB / 0.7328 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4916, allocations: 12.62 kB / 0.7328 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.4917, allocations: 54.55 kB / 0.7329 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.4922, allocations: 87.5 kB / 0.733 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.4926, allocations: 289.3 kB / 0.7332 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.4926, allocations: 16.44 kB / 0.7333 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.4927, allocations: 20 kB / 0.7333 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.4933, allocations: 316.1 kB / 0.7336 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4934, allocations: 0 / 0.7336 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.4934, allocations: 12 kB / 0.7336 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.4934, allocations: 7.938 kB / 0.7336 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.4941, allocations: 244.9 kB / 0.7338 GB, free: 15.58 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.001547/0.4956, allocations: 1.26 MB / 0.7351 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.4961, allocations: 170.5 kB / 0.7352 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.4964, allocations: 120.8 kB / 0.7353 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.497, allocations: 303.2 kB / 0.7356 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.497, allocations: 38.56 kB / 0.7357 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.497, allocations: 0 / 0.7357 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.00225/0.4993, allocations: 0.58 MB / 0.7362 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4993, allocations: 51.41 kB / 0.7363 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.4996, allocations: 266.9 kB / 0.7365 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4996, allocations: 25.7 kB / 0.7366 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4997, allocations: 164.2 kB / 0.7367 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.4998, allocations: 47.36 kB / 0.7368 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.4998, allocations: 37.7 kB / 0.7368 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5, allocations: 338.8 kB / 0.7371 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.5003, allocations: 95.77 kB / 0.7372 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.5006, allocations: 142.2 kB / 0.7373 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.5012, allocations: 236.1 kB / 0.7376 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5012, allocations: 3.938 kB / 0.7376 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001165/0.5024, allocations: 353.8 kB / 0.7379 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5024, allocations: 4 kB / 0.7379 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5024, allocations: 0 / 0.7379 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.5031, allocations: 88.89 kB / 0.738 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5033, allocations: 51.89 kB / 0.738 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5056, allocations: 1.735 MB / 0.7397 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.5058, allocations: 31.73 kB / 0.7398 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.5058, allocations: 11.98 kB / 0.7398 GB, free: 9.035 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.0001471/0.506, allocations: 145.8 kB / 0.7399 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.506, allocations: 27.78 kB / 0.7399 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.5072, allocations: 362.6 kB / 0.7403 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5072, allocations: 7.984 kB / 0.7403 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.5072, allocations: 0 / 0.7403 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5072, allocations: 0 / 0.7403 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.5089, allocations: 0.7746 MB / 0.7411 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5089, allocations: 0 / 0.7411 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.5091, allocations: 31.97 kB / 0.7411 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.5095, allocations: 88.73 kB / 0.7412 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5096, allocations: 4 kB / 0.7412 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.5115, allocations: 1.743 MB / 0.7429 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5115, allocations: 4.031 kB / 0.7429 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5127, allocations: 458.3 kB / 0.7433 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5128, allocations: 120.8 kB / 0.7434 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.5128, allocations: 3.938 kB / 0.7434 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.5131, allocations: 23.97 kB / 0.7435 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.5132, allocations: 15.98 kB / 0.7435 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.5132, allocations: 11.98 kB / 0.7435 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001749/0.5134, allocations: 186 kB / 0.7437 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.834e-06/0.5134, allocations: 0 / 0.7437 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004069/0.5138, allocations: 87.78 kB / 0.7437 GB, free: 4.688 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.001677/0.5155, allocations: 1.046 MB / 0.7448 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000977/0.5165, allocations: 378.5 kB / 0.7451 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5165, allocations: 0 / 0.7451 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.5171, allocations: 262.7 kB / 0.7454 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.5178, allocations: 114.5 kB / 0.7455 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2202/0.738, allocations: 2.793 MB / 0.7482 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.7384, allocations: 0.7727 MB / 0.749 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.7388, allocations: 55.78 kB / 0.749 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.739, allocations: 78.16 kB / 0.7491 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/0.739, allocations: 2.094 kB / 0.7491 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.7702, allocations: 8.588 MB / 0.7575 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.3, allocations: 7.562 kB / 0.7575 GB, free: 170.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)