Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6821/0.6821, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 180.9 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 88.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 282.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.744e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.254/3.571, allocations: 1.83 GB / 2.594 GB, free: 218.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/3.572, allocations: 84.83 kB / 2.594 GB, free: 218.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3286/3.9, allocations: 199.7 MB / 2.789 GB, free: 15.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/3.9, allocations: 0 / 2.789 GB, free: 15.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.391e-05/3.9, allocations: 8 kB / 2.789 GB, free: 15.11 MB / 0.698 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.001008/3.901, allocations: 0.6426 MB / 2.79 GB, free: 14.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/3.901, allocations: 12.03 kB / 2.79 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/3.901, allocations: 54.53 kB / 2.79 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/3.902, allocations: 67.58 kB / 2.79 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/3.902, allocations: 305.8 kB / 2.79 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/3.902, allocations: 12.44 kB / 2.79 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/3.902, allocations: 24 kB / 2.79 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/3.903, allocations: 268.2 kB / 2.791 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/3.903, allocations: 0 / 2.791 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/3.903, allocations: 12 kB / 2.791 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/3.903, allocations: 4 kB / 2.791 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/3.903, allocations: 169 kB / 2.791 GB, free: 13.44 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001252/3.904, allocations: 1.256 MB / 2.792 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/3.904, allocations: 134.5 kB / 2.792 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/3.905, allocations: 84.83 kB / 2.792 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/3.905, allocations: 303.2 kB / 2.793 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/3.905, allocations: 34.56 kB / 2.793 GB, free: 11.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/3.905, allocations: 0 / 2.793 GB, free: 11.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008583/3.906, allocations: 270.3 kB / 2.793 GB, free: 11.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/3.906, allocations: 55.41 kB / 2.793 GB, free: 11.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/3.906, allocations: 219.2 kB / 2.793 GB, free: 10.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/3.906, allocations: 29.7 kB / 2.793 GB, free: 10.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/3.906, allocations: 164.2 kB / 2.793 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/3.906, allocations: 59.2 kB / 2.793 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/3.906, allocations: 0 / 2.793 GB, free: 10.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/3.906, allocations: 338.8 kB / 2.794 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/3.906, allocations: 55.98 kB / 2.794 GB, free: 10.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/3.907, allocations: 112.2 kB / 2.794 GB, free: 10.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/3.907, allocations: 76.03 kB / 2.794 GB, free: 10.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/3.907, allocations: 3.953 kB / 2.794 GB, free: 10.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006869/3.907, allocations: 281.9 kB / 2.794 GB, free: 9.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/3.907, allocations: 4 kB / 2.794 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/3.907, allocations: 0 / 2.794 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/3.908, allocations: 88.89 kB / 2.794 GB, free: 9.656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/3.908, allocations: 47.95 kB / 2.794 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/3.91, allocations: 1.588 MB / 2.796 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/3.91, allocations: 47.78 kB / 2.796 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/3.91, allocations: 11.95 kB / 2.796 GB, free: 7.828 MB / 0.698 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 () * 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 6.398e-05/3.91, allocations: 109 kB / 2.796 GB, free: 7.715 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/3.91, allocations: 23.72 kB / 2.796 GB, free: 7.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/3.911, allocations: 288.2 kB / 2.796 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/3.911, allocations: 3.953 kB / 2.796 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/3.911, allocations: 8 kB / 2.796 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/3.911, allocations: 0 / 2.796 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/3.912, allocations: 0.6927 MB / 2.797 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/3.912, allocations: 0 / 2.797 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/3.912, allocations: 47.89 kB / 2.797 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/3.912, allocations: 88.86 kB / 2.797 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/3.912, allocations: 0 / 2.797 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/3.914, allocations: 1.598 MB / 2.799 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/3.914, allocations: 0 / 2.799 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/3.914, allocations: 415.7 kB / 2.799 GB, free: 4.301 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/3.914, allocations: 120.7 kB / 2.799 GB, free: 4.164 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/3.914, allocations: 4 kB / 2.799 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/3.915, allocations: 35.91 kB / 2.799 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/3.915, allocations: 23.97 kB / 2.799 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/3.915, allocations: 8 kB / 2.799 GB, free: 4.094 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001173/3.915, allocations: 179.1 kB / 2.8 GB, free: 3.918 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/3.915, allocations: 0 / 2.8 GB, free: 3.918 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005139/3.915, allocations: 159.8 kB / 2.8 GB, free: 3.762 MB / 0.698 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 () * 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.001708/3.917, allocations: 1.993 MB / 2.802 GB, free: 1.723 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004966/3.918, allocations: 290.6 kB / 2.802 GB, free: 1.426 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/3.918, allocations: 0 / 2.802 GB, free: 1.426 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/3.918, allocations: 218.5 kB / 2.802 GB, free: 1.199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/3.919, allocations: 110.2 kB / 2.802 GB, free: 1.094 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/3.919, allocations: 436.4 kB / 2.803 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2949/4.214, allocations: 0.7725 MB / 2.803 GB, free: 197.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003125/4.214, allocations: 50.84 kB / 2.803 GB, free: 197.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/4.215, allocations: 76.92 kB / 2.804 GB, free: 197.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/4.215, allocations: 3.281 kB / 2.804 GB, free: 197.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/4.253, allocations: 25.16 MB / 2.828 GB, free: 197.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/4.254, allocations: 237.3 kB / 2.828 GB, free: 197.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/6.695, allocations: 0 / 2.828 GB, free: 197.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)