Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7698/0.7698, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 186.3 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009333, allocations: 109.5 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 11.62 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.478/5.658, allocations: 2.14 GB / 2.775 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/5.659, allocations: 88.2 kB / 2.775 GB, free: 236.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3477/6.006, allocations: 197.8 MB / 2.968 GB, free: 37.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.033e-06/6.006, allocations: 0 / 2.968 GB, free: 37.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.148e-05/6.006, allocations: 4 kB / 2.968 GB, free: 37.76 MB / 0.6511 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.001156/6.008, allocations: 0.6751 MB / 2.969 GB, free: 37.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/6.008, allocations: 8.031 kB / 2.969 GB, free: 37.03 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/6.008, allocations: 62.48 kB / 2.969 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/6.008, allocations: 71.58 kB / 2.969 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/6.009, allocations: 296 kB / 2.969 GB, free: 36.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/6.009, allocations: 16.44 kB / 2.969 GB, free: 36.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/6.009, allocations: 19.94 kB / 2.969 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/6.009, allocations: 316.2 kB / 2.97 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/6.009, allocations: 0 / 2.97 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/6.009, allocations: 11.95 kB / 2.97 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/6.009, allocations: 8 kB / 2.97 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/6.01, allocations: 276.9 kB / 2.97 GB, free: 35.91 MB / 0.6511 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.001496/6.012, allocations: 1.246 MB / 2.971 GB, free: 34.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/6.012, allocations: 198.5 kB / 2.971 GB, free: 34.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/6.012, allocations: 303.2 kB / 2.972 GB, free: 34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/6.013, allocations: 34.55 kB / 2.972 GB, free: 33.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/6.013, allocations: 0 / 2.972 GB, free: 33.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.002088/6.015, allocations: 0.6085 MB / 2.972 GB, free: 33.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/6.015, allocations: 55.41 kB / 2.972 GB, free: 33.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/6.015, allocations: 225.9 kB / 2.972 GB, free: 33.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/6.015, allocations: 33.64 kB / 2.973 GB, free: 32.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/6.015, allocations: 176 kB / 2.973 GB, free: 32.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/6.015, allocations: 39.36 kB / 2.973 GB, free: 32.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/6.015, allocations: 8 kB / 2.973 GB, free: 32.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/6.015, allocations: 330.8 kB / 2.973 GB, free: 32.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/6.015, allocations: 111.9 kB / 2.973 GB, free: 32.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/6.016, allocations: 170.8 kB / 2.973 GB, free: 32.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/6.016, allocations: 123.9 kB / 2.973 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/6.016, allocations: 0 / 2.973 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/6.017, allocations: 377.9 kB / 2.974 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/6.017, allocations: 10.3 kB / 2.974 GB, free: 31.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/6.017, allocations: 0 / 2.974 GB, free: 31.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/6.018, allocations: 92.88 kB / 2.974 GB, free: 31.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/6.018, allocations: 51.91 kB / 2.974 GB, free: 31.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/6.02, allocations: 1.594 MB / 2.975 GB, free: 29.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/6.02, allocations: 47.88 kB / 2.976 GB, free: 29.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/6.02, allocations: 8 kB / 2.976 GB, free: 29.69 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/6.02, allocations: 145.8 kB / 2.976 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/6.02, allocations: 27.67 kB / 2.976 GB, free: 29.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/6.021, allocations: 392 kB / 2.976 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/6.021, allocations: 0 / 2.976 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/6.021, allocations: 0 / 2.976 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/6.021, allocations: 3.984 kB / 2.976 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/6.023, allocations: 0.7903 MB / 2.977 GB, free: 28.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/6.023, allocations: 8.094 kB / 2.977 GB, free: 28.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/6.023, allocations: 35.97 kB / 2.977 GB, free: 28.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/6.023, allocations: 92.72 kB / 2.977 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/6.023, allocations: 7.938 kB / 2.977 GB, free: 28.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/6.025, allocations: 1.613 MB / 2.979 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.025, allocations: 4.031 kB / 2.979 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/6.026, allocations: 0.5013 MB / 2.979 GB, free: 25.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/6.026, allocations: 100.8 kB / 2.979 GB, free: 25.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/6.026, allocations: 4 kB / 2.979 GB, free: 25.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/6.026, allocations: 31.92 kB / 2.979 GB, free: 25.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/6.026, allocations: 23.97 kB / 2.979 GB, free: 25.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/6.026, allocations: 8 kB / 2.979 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001222/6.026, allocations: 174 kB / 2.979 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/6.026, allocations: 0 / 2.979 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006652/6.027, allocations: 163.8 kB / 2.98 GB, free: 25.29 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/6.03, allocations: 2.103 MB / 2.982 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000916/6.031, allocations: 394.5 kB / 2.982 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/6.031, allocations: 0 / 2.982 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/6.031, allocations: 270.7 kB / 2.982 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/6.032, allocations: 120.5 kB / 2.982 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/6.035, allocations: 2.294 MB / 2.985 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/6.035, allocations: 0.7715 MB / 2.985 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001981/6.035, allocations: 54.27 kB / 2.985 GB, free: 19.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/6.035, allocations: 75.41 kB / 2.985 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/6.035, allocations: 0 / 2.985 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.368/6.403, allocations: 22.51 MB / 3.007 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/6.403, allocations: 256.1 kB / 3.008 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/9.01, allocations: 6.875 kB / 3.008 GB, free: 166.5 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)