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.00126/0.00126, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001334/0.001334, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6854/0.6854, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 64.09 kB / 0.5013 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1219, allocations: 80.21 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3407/0.4627, allocations: 159.3 MB / 0.7352 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.4664, allocations: 3.47 MB / 0.7386 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.4665, allocations: 9.781 kB / 0.7386 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.4669, allocations: 110.8 kB / 0.7387 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.4678, allocations: 423.3 kB / 0.7391 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4688, allocations: 0.5445 MB / 0.7396 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.4693, allocations: 0.6222 MB / 0.7402 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.4696, allocations: 223.8 kB / 0.7405 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4708, allocations: 346.1 kB / 0.7408 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.471, allocations: 208.8 kB / 0.741 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.4711, allocations: 21.16 kB / 0.741 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.4717, allocations: 0.5641 MB / 0.7416 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.4718, allocations: 96.02 kB / 0.7417 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4719, allocations: 147.4 kB / 0.7418 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.4725, allocations: 0.5746 MB / 0.7424 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4725, allocations: 0 / 0.7424 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4725, allocations: 0 / 0.7424 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4725, allocations: 3.938 kB / 0.7424 GB, free: 10.09 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.000874/0.4734, allocations: 0.6301 MB / 0.743 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4734, allocations: 10.69 kB / 0.743 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.4735, allocations: 53.62 kB / 0.743 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.474, allocations: 73.88 kB / 0.7431 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.4743, allocations: 290.9 kB / 0.7434 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4743, allocations: 24.62 kB / 0.7434 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.4743, allocations: 21.75 kB / 0.7434 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.4749, allocations: 303.8 kB / 0.7437 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4749, allocations: 5 kB / 0.7437 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.4749, allocations: 17.97 kB / 0.7437 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.4749, allocations: 5.562 kB / 0.7437 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005903/0.4755, allocations: 251.9 kB / 0.744 GB, free: 8.969 MB / 0.5606 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.001267/0.4768, allocations: 1.245 MB / 0.7452 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.4772, allocations: 175.4 kB / 0.7454 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4775, allocations: 122.8 kB / 0.7455 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.478, allocations: 307.3 kB / 0.7458 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.478, allocations: 37.09 kB / 0.7458 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.478, allocations: 0 / 0.7458 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002009/0.48, allocations: 0.569 MB / 0.7464 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.4801, allocations: 55.41 kB / 0.7464 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4803, allocations: 253.5 kB / 0.7467 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4803, allocations: 32.48 kB / 0.7467 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.4804, allocations: 160.4 kB / 0.7468 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.4804, allocations: 58.53 kB / 0.7469 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.4805, allocations: 38.61 kB / 0.7469 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.4806, allocations: 331.7 kB / 0.7473 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4809, allocations: 102 kB / 0.7474 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.4811, allocations: 136 kB / 0.7475 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.4816, allocations: 238.4 kB / 0.7477 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4816, allocations: 4 kB / 0.7477 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001006/0.4827, allocations: 351.7 kB / 0.748 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.4827, allocations: 7.344 kB / 0.7481 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4827, allocations: 1.953 kB / 0.7481 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.4832, allocations: 92.44 kB / 0.7481 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.4834, allocations: 35.78 kB / 0.7482 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.4853, allocations: 1.736 MB / 0.7499 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4855, allocations: 33.22 kB / 0.7499 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4856, allocations: 6.844 kB / 0.7499 GB, free: 3.922 MB / 0.5606 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.0001195/0.4857, allocations: 147.7 kB / 0.7501 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.4857, allocations: 28.98 kB / 0.7501 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4868, allocations: 368.8 kB / 0.7504 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4868, allocations: 0 / 0.7504 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.4868, allocations: 0 / 0.7504 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4868, allocations: 2.562 kB / 0.7504 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.4882, allocations: 0.7753 MB / 0.7512 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4882, allocations: 0 / 0.7512 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.4884, allocations: 37.62 kB / 0.7512 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/0.4888, allocations: 87.27 kB / 0.7513 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4889, allocations: 4 kB / 0.7513 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.4906, allocations: 1.739 MB / 0.753 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4906, allocations: 3.938 kB / 0.753 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4916, allocations: 458.3 kB / 0.7535 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.4917, allocations: 128.6 kB / 0.7536 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4917, allocations: 7.938 kB / 0.7536 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.492, allocations: 23.97 kB / 0.7536 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.4921, allocations: 19.97 kB / 0.7536 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4921, allocations: 15.94 kB / 0.7536 GB, free: 292 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001306/0.4922, allocations: 178 kB / 0.7538 GB, free: 120 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4922, allocations: 4 kB / 0.7538 GB, free: 116 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003387/0.4926, allocations: 83.84 kB / 0.7539 GB, free: 32 kB / 0.5606 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.001439/0.494, allocations: 1.041 MB / 0.7549 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.4949, allocations: 372.9 kB / 0.7553 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4949, allocations: 0 / 0.7553 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.4954, allocations: 254.7 kB / 0.7555 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.4961, allocations: 115.9 kB / 0.7556 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.5017, allocations: 2.878 MB / 0.7584 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5021, allocations: 0.7714 MB / 0.7592 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.5024, allocations: 58.23 kB / 0.7592 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5025, allocations: 75.42 kB / 0.7593 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.254e-06/0.5025, allocations: 4 kB / 0.7593 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.709/2.212, allocations: 8.321 MB / 0.7674 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/2.212, allocations: 264.2 kB / 0.7677 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/4.537, allocations: 4 kB / 0.7677 GB, free: 1.934 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)