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.007139/0.007139, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001911/0.001911, allocations: 196.4 kB / 16.68 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8332/0.8332, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 73.33 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1388, allocations: 81.03 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.508/0.6468, allocations: 161.5 MB / 0.8226 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.6517, allocations: 3.484 MB / 0.826 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.6521, allocations: 9.344 kB / 0.826 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.6525, allocations: 134.5 kB / 0.8261 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.6537, allocations: 446.3 kB / 0.8265 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.6553, allocations: 0.6012 MB / 0.8271 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.656, allocations: 0.6222 MB / 0.8277 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.6564, allocations: 230.1 kB / 0.828 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.6576, allocations: 333 kB / 0.8283 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.6579, allocations: 194.5 kB / 0.8285 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.6579, allocations: 22.25 kB / 0.8285 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/0.6589, allocations: 0.5483 MB / 0.829 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.659, allocations: 97.94 kB / 0.8291 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.6592, allocations: 142.7 kB / 0.8292 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.66, allocations: 0.5563 MB / 0.8298 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.66, allocations: 7.312 kB / 0.8298 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.66, allocations: 0 / 0.8298 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.66, allocations: 0 / 0.8298 GB, free: 14.81 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.001029/0.6611, allocations: 0.6313 MB / 0.8304 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.6611, allocations: 15.17 kB / 0.8304 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.6612, allocations: 61.31 kB / 0.8305 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.6617, allocations: 72.39 kB / 0.8306 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.6621, allocations: 305.4 kB / 0.8308 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6621, allocations: 19.91 kB / 0.8309 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.6621, allocations: 19.12 kB / 0.8309 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.6628, allocations: 317.7 kB / 0.8312 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6628, allocations: 4 kB / 0.8312 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.6628, allocations: 9.906 kB / 0.8312 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6628, allocations: 5.438 kB / 0.8312 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.6635, allocations: 250.8 kB / 0.8314 GB, free: 13.5 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.001557/0.665, allocations: 1.243 MB / 0.8327 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.6655, allocations: 180.2 kB / 0.8328 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.6658, allocations: 131.5 kB / 0.833 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.6664, allocations: 302 kB / 0.8332 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6664, allocations: 33.31 kB / 0.8333 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.6664, allocations: 4 kB / 0.8333 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002122/0.6686, allocations: 0.5733 MB / 0.8338 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.6686, allocations: 51.41 kB / 0.8339 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.6689, allocations: 253.5 kB / 0.8341 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.6689, allocations: 31.8 kB / 0.8342 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.669, allocations: 161.4 kB / 0.8343 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.6691, allocations: 55.09 kB / 0.8344 GB, free: 11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.6692, allocations: 34.33 kB / 0.8344 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6693, allocations: 338.2 kB / 0.8347 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.6696, allocations: 90.36 kB / 0.8348 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.6699, allocations: 140.4 kB / 0.8349 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.6705, allocations: 244.2 kB / 0.8352 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6705, allocations: 0 / 0.8352 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.6716, allocations: 351.1 kB / 0.8355 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6717, allocations: 5.906 kB / 0.8355 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6717, allocations: 4.125 kB / 0.8355 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.6722, allocations: 88.42 kB / 0.8356 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.6725, allocations: 45.55 kB / 0.8356 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6747, allocations: 1.722 MB / 0.8373 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6749, allocations: 38.48 kB / 0.8374 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.675, allocations: 11.66 kB / 0.8374 GB, free: 8.434 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.0001492/0.6751, allocations: 144.8 kB / 0.8375 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.6752, allocations: 24.95 kB / 0.8375 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.6763, allocations: 365.2 kB / 0.8379 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6763, allocations: 6.484 kB / 0.8379 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6763, allocations: 4 kB / 0.8379 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6763, allocations: 0 / 0.8379 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6779, allocations: 0.7754 MB / 0.8387 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6779, allocations: 6.266 kB / 0.8387 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.6781, allocations: 34.81 kB / 0.8387 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.6785, allocations: 80.47 kB / 0.8388 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6785, allocations: 6.906 kB / 0.8388 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.6805, allocations: 1.748 MB / 0.8405 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6805, allocations: 0 / 0.8405 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6816, allocations: 455.8 kB / 0.8409 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6817, allocations: 113.5 kB / 0.841 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.6818, allocations: 14.02 kB / 0.841 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.682, allocations: 25 kB / 0.8411 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.6821, allocations: 15.45 kB / 0.8411 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.6821, allocations: 8.719 kB / 0.8411 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001519/0.6823, allocations: 185.3 kB / 0.8413 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6823, allocations: 0 / 0.8413 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003758/0.6827, allocations: 85.27 kB / 0.8413 GB, free: 5.105 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.001623/0.6843, allocations: 1.059 MB / 0.8424 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009186/0.6852, allocations: 358.9 kB / 0.8427 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6852, allocations: 4 kB / 0.8427 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.6858, allocations: 261.8 kB / 0.843 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.6865, allocations: 118.4 kB / 0.8431 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.691, allocations: 2.805 MB / 0.8458 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.6914, allocations: 0.7677 MB / 0.8466 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.6916, allocations: 61.61 kB / 0.8466 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.6918, allocations: 82.09 kB / 0.8467 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6918, allocations: 0 / 0.8467 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.7289, allocations: 8.677 MB / 0.8552 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.2, allocations: 9.844 kB / 0.8552 GB, free: 10.87 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)