Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_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.00768/0.00768, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001915/0.001915, allocations: 196 kB / 16.67 MB, free: 6.352 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3904, allocations: 80.9 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1694/0.5598, allocations: 161.5 MB / 0.8219 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.5644, allocations: 3.486 MB / 0.8253 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.5646, allocations: 11.94 kB / 0.8253 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.5651, allocations: 127 kB / 0.8254 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.5662, allocations: 477.8 kB / 0.8259 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.5677, allocations: 0.5986 MB / 0.8265 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006493/0.5684, allocations: 0.6245 MB / 0.8271 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.5687, allocations: 234.8 kB / 0.8273 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.5699, allocations: 352.2 kB / 0.8276 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.5702, allocations: 191.2 kB / 0.8278 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.5703, allocations: 24 kB / 0.8278 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008975/0.5712, allocations: 0.565 MB / 0.8284 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5713, allocations: 91.78 kB / 0.8285 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.5714, allocations: 143.3 kB / 0.8286 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.5723, allocations: 0.5654 MB / 0.8292 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5723, allocations: 0 / 0.8292 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5723, allocations: 4 kB / 0.8292 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5723, allocations: 0 / 0.8292 GB, free: 8.051 MB / 0.6544 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.001123/0.5734, allocations: 0.6268 MB / 0.8298 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5735, allocations: 8.031 kB / 0.8298 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.5736, allocations: 66.53 kB / 0.8298 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.5741, allocations: 67.77 kB / 0.8299 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.5745, allocations: 305.5 kB / 0.8302 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5745, allocations: 20.44 kB / 0.8302 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.5746, allocations: 16 kB / 0.8302 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.5752, allocations: 320.1 kB / 0.8305 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5752, allocations: 0 / 0.8305 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.5753, allocations: 12 kB / 0.8305 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.5753, allocations: 8 kB / 0.8306 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.5759, allocations: 244.9 kB / 0.8308 GB, free: 6.258 MB / 0.6544 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.00153/0.5775, allocations: 1.248 MB / 0.832 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.5779, allocations: 178.5 kB / 0.8322 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.5782, allocations: 120.8 kB / 0.8323 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.5788, allocations: 299.2 kB / 0.8326 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5789, allocations: 38.55 kB / 0.8326 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.5789, allocations: 0 / 0.8326 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002193/0.5811, allocations: 0.581 MB / 0.8332 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.5811, allocations: 51.41 kB / 0.8332 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.5814, allocations: 254.7 kB / 0.8335 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.5814, allocations: 29.7 kB / 0.8335 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5815, allocations: 168.3 kB / 0.8337 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.5816, allocations: 47.53 kB / 0.8337 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.5817, allocations: 41.7 kB / 0.8338 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5818, allocations: 334.8 kB / 0.8341 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.5821, allocations: 87.92 kB / 0.8342 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.5824, allocations: 144.2 kB / 0.8343 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.583, allocations: 238.4 kB / 0.8345 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.583, allocations: 0 / 0.8345 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001131/0.5841, allocations: 358 kB / 0.8349 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5841, allocations: 4 kB / 0.8349 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5842, allocations: 0 / 0.8349 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.5848, allocations: 88.89 kB / 0.8349 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.585, allocations: 47.89 kB / 0.835 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.5872, allocations: 1.729 MB / 0.8367 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.5874, allocations: 39.81 kB / 0.8367 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.5875, allocations: 4 kB / 0.8367 GB, free: 15.74 MB / 0.67 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.0001657/0.5876, allocations: 143.4 kB / 0.8369 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.5877, allocations: 27.8 kB / 0.8369 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.5888, allocations: 364 kB / 0.8372 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5889, allocations: 4 kB / 0.8372 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.5889, allocations: 0 / 0.8372 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5889, allocations: 0 / 0.8372 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.5905, allocations: 0.7785 MB / 0.838 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5905, allocations: 4 kB / 0.838 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5907, allocations: 35.91 kB / 0.838 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/0.5911, allocations: 76.88 kB / 0.8381 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5912, allocations: 7.938 kB / 0.8381 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.593, allocations: 1.743 MB / 0.8398 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5931, allocations: 12.03 kB / 0.8398 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5942, allocations: 449.7 kB / 0.8403 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.5943, allocations: 120.9 kB / 0.8404 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5943, allocations: 8 kB / 0.8404 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.5946, allocations: 23.97 kB / 0.8404 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.5947, allocations: 19.92 kB / 0.8404 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.5947, allocations: 4 kB / 0.8404 GB, free: 11.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001686/0.5949, allocations: 182 kB / 0.8406 GB, free: 11.49 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5949, allocations: 0 / 0.8406 GB, free: 11.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004194/0.5953, allocations: 91.81 kB / 0.8407 GB, free: 11.4 MB / 0.67 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.001717/0.5971, allocations: 1.039 MB / 0.8417 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009883/0.5981, allocations: 370.3 kB / 0.8421 GB, free: 9.961 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5981, allocations: 256 / 0.8421 GB, free: 9.961 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.5986, allocations: 266.5 kB / 0.8423 GB, free: 9.688 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.5994, allocations: 116.5 kB / 0.8424 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.6043, allocations: 2.815 MB / 0.8452 GB, free: 6.645 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.6046, allocations: 0.7714 MB / 0.8459 GB, free: 5.848 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.6048, allocations: 46.27 kB / 0.846 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.6049, allocations: 83.41 kB / 0.846 GB, free: 5.719 MB / 0.67 GB Notification: Performance of SimCode: time 3.6e-07/0.605, allocations: 0 / 0.846 GB, free: 5.719 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.6355, allocations: 8.665 MB / 0.8545 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.87, allocations: 3.984 kB / 0.8545 GB, free: 13.24 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)