Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_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.00814/0.00814, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001789/0.001789, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7685/0.7685, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4096, allocations: 80.22 MB / 0.6592 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1635/0.5731, allocations: 161.5 MB / 0.8169 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.5784, allocations: 3.489 MB / 0.8203 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.5789, allocations: 11.94 kB / 0.8203 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.5795, allocations: 138.9 kB / 0.8205 GB, free: 492 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5809, allocations: 469.9 kB / 0.8209 GB, free: 20 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5825, allocations: 0.5977 MB / 0.8215 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008097/0.5833, allocations: 0.6205 MB / 0.8221 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.5837, allocations: 232.6 kB / 0.8223 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.5851, allocations: 358 kB / 0.8227 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.5854, allocations: 187.2 kB / 0.8228 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.5854, allocations: 24 kB / 0.8229 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5864, allocations: 0.5573 MB / 0.8234 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.5866, allocations: 95.72 kB / 0.8235 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.5867, allocations: 143.3 kB / 0.8236 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.5877, allocations: 0.5565 MB / 0.8242 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5877, allocations: 4 kB / 0.8242 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5877, allocations: 3.938 kB / 0.8242 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.5877, allocations: 0 / 0.8242 GB, free: 12.68 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.001157/0.5889, allocations: 0.6268 MB / 0.8248 GB, free: 12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5889, allocations: 16.02 kB / 0.8248 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.589, allocations: 54.55 kB / 0.8249 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.5895, allocations: 75.72 kB / 0.8249 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.59, allocations: 313.4 kB / 0.8252 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.59, allocations: 20.42 kB / 0.8252 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.5901, allocations: 20 kB / 0.8253 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.5907, allocations: 308.2 kB / 0.8256 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5907, allocations: 11.88 kB / 0.8256 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.5908, allocations: 12 kB / 0.8256 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5908, allocations: 4 kB / 0.8256 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.5914, allocations: 248.9 kB / 0.8258 GB, free: 10.87 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.001616/0.593, allocations: 1.248 MB / 0.827 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.5935, allocations: 170.5 kB / 0.8272 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.5938, allocations: 124.8 kB / 0.8273 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.5944, allocations: 299.2 kB / 0.8276 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5944, allocations: 34.55 kB / 0.8276 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.704e-06/0.5945, allocations: 4 kB / 0.8276 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002269/0.5967, allocations: 0.5771 MB / 0.8282 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5968, allocations: 51.41 kB / 0.8283 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.597, allocations: 250.7 kB / 0.8285 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.5971, allocations: 29.7 kB / 0.8285 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5972, allocations: 172.3 kB / 0.8287 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.5973, allocations: 55.52 kB / 0.8287 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.5973, allocations: 37.7 kB / 0.8288 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5975, allocations: 330.8 kB / 0.8291 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.5978, allocations: 95.86 kB / 0.8292 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.5982, allocations: 144.1 kB / 0.8293 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.5988, allocations: 236.1 kB / 0.8296 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5988, allocations: 3.938 kB / 0.8296 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001183/0.6, allocations: 359.9 kB / 0.8299 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6001, allocations: 4 kB / 0.8299 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6001, allocations: 8.125 kB / 0.8299 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.6007, allocations: 80.77 kB / 0.83 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.6009, allocations: 51.89 kB / 0.83 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.6035, allocations: 1.72 MB / 0.8317 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.6038, allocations: 31.86 kB / 0.8317 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.6038, allocations: 4 kB / 0.8317 GB, free: 4.371 MB / 0.6544 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.0001922/0.604, allocations: 151.7 kB / 0.8319 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.6041, allocations: 31.73 kB / 0.8319 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.6053, allocations: 364 kB / 0.8323 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6053, allocations: 0 / 0.8323 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.6053, allocations: 3.938 kB / 0.8323 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6053, allocations: 0 / 0.8323 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.607, allocations: 0.7824 MB / 0.833 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6071, allocations: 0 / 0.833 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.6073, allocations: 31.97 kB / 0.8331 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.6077, allocations: 76.88 kB / 0.8331 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.6078, allocations: 11.98 kB / 0.8332 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.6099, allocations: 1.739 MB / 0.8349 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.61, allocations: 3.938 kB / 0.8349 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.6112, allocations: 454.5 kB / 0.8353 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.6113, allocations: 120.9 kB / 0.8354 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.6114, allocations: 8 kB / 0.8354 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.6117, allocations: 24.03 kB / 0.8354 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/0.6117, allocations: 19.98 kB / 0.8355 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.6118, allocations: 4 kB / 0.8355 GB, free: 292 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001781/0.612, allocations: 186 kB / 0.8356 GB, free: 108 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.612, allocations: 0 / 0.8356 GB, free: 108 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004277/0.6124, allocations: 87.81 kB / 0.8357 GB, free: 20 kB / 0.6544 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.001764/0.6142, allocations: 1.046 MB / 0.8367 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.6152, allocations: 369.2 kB / 0.8371 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.6152, allocations: 4 kB / 0.8371 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.6158, allocations: 250.5 kB / 0.8373 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.6166, allocations: 129.1 kB / 0.8375 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.6215, allocations: 2.802 MB / 0.8402 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.622, allocations: 0.7714 MB / 0.8409 GB, free: 10.47 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.6222, allocations: 50.27 kB / 0.841 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.6225, allocations: 79.41 kB / 0.8411 GB, free: 10.34 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/0.6225, allocations: 0 / 0.8411 GB, free: 10.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.6545, allocations: 8.683 MB / 0.8496 GB, free: 1.898 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.02, allocations: 2.031 kB / 0.8496 GB, free: 1.898 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)