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.005764/0.005764, allocations: 104.7 kB / 15.73 MB, free: 5.965 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.001403/0.001403, allocations: 192.6 kB / 16.67 MB, free: 5.883 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8226/0.8226, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 72.62 kB / 0.5858 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1642, allocations: 81.02 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5312/0.6954, allocations: 161.5 MB / 0.8226 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.7009, allocations: 3.482 MB / 0.826 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.7015, allocations: 15.31 kB / 0.826 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.702, allocations: 136.2 kB / 0.8261 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.7035, allocations: 453.8 kB / 0.8266 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.7052, allocations: 0.5897 MB / 0.8271 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009354/0.7062, allocations: 0.6206 MB / 0.8277 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.7067, allocations: 229.8 kB / 0.828 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.7081, allocations: 337.8 kB / 0.8283 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.7085, allocations: 194.2 kB / 0.8285 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.7086, allocations: 24.75 kB / 0.8285 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.7098, allocations: 0.5609 MB / 0.829 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.71, allocations: 93.77 kB / 0.8291 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.7102, allocations: 139.1 kB / 0.8293 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.7113, allocations: 0.5527 MB / 0.8298 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7113, allocations: 3.984 kB / 0.8298 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7113, allocations: 3 kB / 0.8298 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.7113, allocations: 0 / 0.8298 GB, free: 14.84 MB / 0.6075 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.001191/0.7125, allocations: 0.6313 MB / 0.8304 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7126, allocations: 11.14 kB / 0.8304 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.798e-05/0.7127, allocations: 61.31 kB / 0.8305 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.7132, allocations: 76.77 kB / 0.8306 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.7137, allocations: 309.3 kB / 0.8309 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.7138, allocations: 15.81 kB / 0.8309 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.7138, allocations: 19.06 kB / 0.8309 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.7145, allocations: 316.9 kB / 0.8312 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7145, allocations: 0 / 0.8312 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.7145, allocations: 13.75 kB / 0.8312 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.7146, allocations: 5.812 kB / 0.8312 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.7152, allocations: 250.1 kB / 0.8314 GB, free: 13.53 MB / 0.6075 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.001875/0.7171, allocations: 1.251 MB / 0.8327 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.7176, allocations: 176.3 kB / 0.8328 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.7179, allocations: 123.3 kB / 0.833 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.7185, allocations: 302.1 kB / 0.8332 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.7186, allocations: 37.31 kB / 0.8333 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7186, allocations: 0 / 0.8333 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002212/0.7208, allocations: 0.5698 MB / 0.8338 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7209, allocations: 53.91 kB / 0.8339 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.7211, allocations: 257.8 kB / 0.8341 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.7212, allocations: 35.45 kB / 0.8342 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.7213, allocations: 165 kB / 0.8343 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.7214, allocations: 47.38 kB / 0.8344 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.7215, allocations: 38.73 kB / 0.8344 GB, free: 11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7217, allocations: 331.5 kB / 0.8347 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.722, allocations: 94.67 kB / 0.8348 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.7223, allocations: 137.4 kB / 0.8349 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.723, allocations: 242.8 kB / 0.8352 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.723, allocations: 0 / 0.8352 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001265/0.7243, allocations: 358.7 kB / 0.8355 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.7243, allocations: 5.812 kB / 0.8355 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7243, allocations: 0 / 0.8355 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.725, allocations: 88.33 kB / 0.8356 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.7252, allocations: 51.55 kB / 0.8357 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.728, allocations: 1.726 MB / 0.8373 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.7283, allocations: 33.14 kB / 0.8374 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.7283, allocations: 11.7 kB / 0.8374 GB, free: 8.461 MB / 0.6075 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.0001823/0.7285, allocations: 149 kB / 0.8375 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.7286, allocations: 24.14 kB / 0.8375 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.7298, allocations: 362.9 kB / 0.8379 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.7298, allocations: 1.812 kB / 0.8379 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.7298, allocations: 3.031 kB / 0.8379 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7298, allocations: 3.984 kB / 0.8379 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.7316, allocations: 0.7751 MB / 0.8387 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.7316, allocations: 0 / 0.8387 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.7318, allocations: 40.73 kB / 0.8387 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.7322, allocations: 80.81 kB / 0.8388 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.7323, allocations: 6.531 kB / 0.8388 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.7345, allocations: 1.748 MB / 0.8405 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7345, allocations: 3.984 kB / 0.8405 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.7357, allocations: 458.5 kB / 0.8409 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7358, allocations: 114 kB / 0.841 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.7359, allocations: 10.52 kB / 0.841 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.7362, allocations: 24.34 kB / 0.8411 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.7363, allocations: 15.23 kB / 0.8411 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.7363, allocations: 9.156 kB / 0.8411 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001921/0.7365, allocations: 185.4 kB / 0.8413 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7365, allocations: 0 / 0.8413 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004778/0.737, allocations: 84.61 kB / 0.8414 GB, free: 5.133 MB / 0.6075 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.001975/0.739, allocations: 1.052 MB / 0.8424 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.7401, allocations: 359.6 kB / 0.8427 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7401, allocations: 0 / 0.8427 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.7407, allocations: 265.4 kB / 0.843 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.7415, allocations: 120 kB / 0.8431 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.7465, allocations: 2.814 MB / 0.8458 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.747, allocations: 0.7717 MB / 0.8466 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.7472, allocations: 55.88 kB / 0.8466 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.7473, allocations: 76.44 kB / 0.8467 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.7473, allocations: 0 / 0.8467 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.7971, allocations: 8.674 MB / 0.8552 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.54, allocations: 14.11 kB / 0.8552 GB, free: 10.89 MB / 0.6231 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)