Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_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.001389/0.001389, allocations: 99.27 kB / 16.4 MB, free: 6.496 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.001164/0.001164, allocations: 195.8 kB / 17.34 MB, free: 5.77 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6972/0.6972, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 64.53 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.161, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5169/0.678, allocations: 161.5 MB / 0.7893 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.6823, allocations: 3.491 MB / 0.7927 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.6827, allocations: 10.81 kB / 0.7927 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.6832, allocations: 137 kB / 0.7928 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.6845, allocations: 450.3 kB / 0.7933 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6863, allocations: 0.5968 MB / 0.7938 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008744/0.6871, allocations: 0.6275 MB / 0.7945 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.6875, allocations: 234.4 kB / 0.7947 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.6888, allocations: 348.5 kB / 0.795 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.6891, allocations: 200.7 kB / 0.7952 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.6891, allocations: 22.28 kB / 0.7952 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.6901, allocations: 0.5434 MB / 0.7958 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.6902, allocations: 94.7 kB / 0.7958 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.6904, allocations: 149.1 kB / 0.796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.6912, allocations: 0.5474 MB / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6912, allocations: 1.875 kB / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6912, allocations: 4 kB / 0.7965 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.6912, allocations: 0 / 0.7965 GB, free: 12.42 MB / 0.5919 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.001067/0.6923, allocations: 0.6296 MB / 0.7971 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6924, allocations: 8.25 kB / 0.7972 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.6924, allocations: 62.44 kB / 0.7972 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.693, allocations: 72.52 kB / 0.7973 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.6935, allocations: 308.7 kB / 0.7976 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6935, allocations: 15.5 kB / 0.7976 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.6936, allocations: 20 kB / 0.7976 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.6942, allocations: 320.1 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6943, allocations: 1.094 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.6943, allocations: 12.75 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.6943, allocations: 9.188 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.6951, allocations: 241.3 kB / 0.7982 GB, free: 11.56 MB / 0.5919 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.001651/0.6968, allocations: 1.247 MB / 0.7994 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.6972, allocations: 176.2 kB / 0.7996 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.6975, allocations: 124.4 kB / 0.7997 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.6981, allocations: 301.2 kB / 0.8 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6982, allocations: 34.25 kB / 0.8 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.6982, allocations: 4 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002119/0.7003, allocations: 0.5758 MB / 0.8006 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.7004, allocations: 51.41 kB / 0.8006 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.7006, allocations: 261.2 kB / 0.8009 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.7007, allocations: 29.02 kB / 0.8009 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.7008, allocations: 166.1 kB / 0.801 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.7009, allocations: 51.8 kB / 0.8011 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.701, allocations: 36.36 kB / 0.8011 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7011, allocations: 332.2 kB / 0.8014 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.7016, allocations: 93.66 kB / 0.8015 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.7019, allocations: 140.6 kB / 0.8017 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.7025, allocations: 237.8 kB / 0.8019 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7025, allocations: 2.25 kB / 0.8019 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001095/0.7036, allocations: 347.7 kB / 0.8022 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7036, allocations: 11.94 kB / 0.8022 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7037, allocations: 1.688 kB / 0.8022 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.7043, allocations: 92.8 kB / 0.8023 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.7045, allocations: 45.41 kB / 0.8024 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.7067, allocations: 1.726 MB / 0.8041 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.707, allocations: 31.27 kB / 0.8041 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.707, allocations: 11.27 kB / 0.8041 GB, free: 7.887 MB / 0.5919 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.0001653/0.7072, allocations: 145.7 kB / 0.8042 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.7073, allocations: 28.03 kB / 0.8043 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.7084, allocations: 370.8 kB / 0.8046 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7084, allocations: 3.188 kB / 0.8046 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.7084, allocations: 0 / 0.8046 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7084, allocations: 0 / 0.8046 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.7101, allocations: 0.7803 MB / 0.8054 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7101, allocations: 6.344 kB / 0.8054 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.7103, allocations: 36.88 kB / 0.8054 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.7108, allocations: 83.23 kB / 0.8055 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.7108, allocations: 7.25 kB / 0.8055 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.7127, allocations: 1.736 MB / 0.8072 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7127, allocations: 6.531 kB / 0.8072 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.7138, allocations: 443.8 kB / 0.8076 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.714, allocations: 126.2 kB / 0.8078 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.7141, allocations: 6.438 kB / 0.8078 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.7143, allocations: 28.44 kB / 0.8078 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.7144, allocations: 22.44 kB / 0.8078 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.7144, allocations: 8.594 kB / 0.8078 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001806/0.7146, allocations: 184.8 kB / 0.808 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7146, allocations: 0 / 0.808 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004482/0.7151, allocations: 84.06 kB / 0.8081 GB, free: 5.117 MB / 0.5919 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.001751/0.7168, allocations: 1.044 MB / 0.8091 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.7179, allocations: 366.6 kB / 0.8094 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7179, allocations: 4.25 kB / 0.8094 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.7185, allocations: 256.4 kB / 0.8097 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.7193, allocations: 127.9 kB / 0.8098 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/0.724, allocations: 2.81 MB / 0.8126 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.7244, allocations: 0.7727 MB / 0.8133 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.7247, allocations: 55.8 kB / 0.8134 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.7248, allocations: 78.34 kB / 0.8134 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.7248, allocations: 0 / 0.8134 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.7597, allocations: 8.837 MB / 0.8221 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.03, allocations: 8.312 kB / 0.8221 GB, free: 12.93 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)