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.9143/0.9143, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 187.3 kB / 191.5 MB, free: 5.77 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.783/1.783, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.001151/0.001151, allocations: 88.33 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001886, allocations: 277.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004759, allocations: 13.91 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.374/5.609, allocations: 1.83 GB / 2.604 GB, free: 191.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/5.609, allocations: 92.36 kB / 2.604 GB, free: 191.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3748/5.984, allocations: 199.9 MB / 2.799 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/5.984, allocations: 0 / 2.799 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.592e-05/5.984, allocations: 11.98 kB / 2.799 GB, free: 12.04 MB / 0.7136 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.001326/5.985, allocations: 0.6673 MB / 2.8 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/5.985, allocations: 15.97 kB / 2.8 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/5.985, allocations: 58.55 kB / 2.8 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/5.986, allocations: 71.56 kB / 2.8 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/5.986, allocations: 305.8 kB / 2.8 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/5.986, allocations: 12.44 kB / 2.8 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/5.986, allocations: 24 kB / 2.8 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/5.987, allocations: 328.2 kB / 2.801 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/5.987, allocations: 0 / 2.801 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/5.987, allocations: 7.938 kB / 2.801 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/5.987, allocations: 8 kB / 2.801 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/5.987, allocations: 268.9 kB / 2.801 GB, free: 10.17 MB / 0.7136 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.001384/5.989, allocations: 1.253 MB / 2.802 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/5.989, allocations: 186.5 kB / 2.802 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005088/5.99, allocations: 303.2 kB / 2.802 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/5.99, allocations: 38.52 kB / 2.803 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/5.99, allocations: 0 / 2.803 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.002055/5.992, allocations: 0.6086 MB / 2.803 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/5.992, allocations: 55.34 kB / 2.803 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/5.992, allocations: 225.9 kB / 2.803 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/5.992, allocations: 29.7 kB / 2.803 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/5.992, allocations: 164.1 kB / 2.804 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/5.992, allocations: 55.28 kB / 2.804 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/5.992, allocations: 0 / 2.804 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/5.992, allocations: 334.8 kB / 2.804 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/5.993, allocations: 111.9 kB / 2.804 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/5.993, allocations: 167.9 kB / 2.804 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/5.993, allocations: 127.9 kB / 2.804 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/5.993, allocations: 4 kB / 2.804 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001061/5.994, allocations: 377.8 kB / 2.805 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/5.994, allocations: 4 kB / 2.805 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.994, allocations: 4 kB / 2.805 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/5.995, allocations: 84.89 kB / 2.805 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/5.995, allocations: 51.95 kB / 2.805 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/5.997, allocations: 1.587 MB / 2.806 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/5.997, allocations: 51.75 kB / 2.806 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/5.997, allocations: 4 kB / 2.806 GB, free: 3.969 MB / 0.7136 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.0001797/5.998, allocations: 149.8 kB / 2.807 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/5.998, allocations: 31.66 kB / 2.807 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/5.999, allocations: 388.6 kB / 2.807 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/5.999, allocations: 7.953 kB / 2.807 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/5.999, allocations: 4 kB / 2.807 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/5.999, allocations: 0 / 2.807 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/6, allocations: 0.7981 MB / 2.808 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/6, allocations: 4 kB / 2.808 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/6, allocations: 39.91 kB / 2.808 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/6.001, allocations: 88.86 kB / 2.808 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/6.001, allocations: 4 kB / 2.808 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/6.002, allocations: 1.609 MB / 2.809 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.002, allocations: 7.969 kB / 2.809 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/6.003, allocations: 0.5012 MB / 2.81 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5085/6.512, allocations: 120.4 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/6.512, allocations: 6.578 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/6.512, allocations: 35.59 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/6.513, allocations: 19.36 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/6.513, allocations: 9.5 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002847/6.513, allocations: 180.6 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/6.513, allocations: 0.5 kB / 2.81 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001169/6.514, allocations: 160.5 kB / 2.81 GB, free: 203.8 MB / 0.7136 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.003133/6.517, allocations: 2.089 MB / 2.813 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00104/6.518, allocations: 388.2 kB / 2.813 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/6.518, allocations: 0 / 2.813 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/6.519, allocations: 269.4 kB / 2.813 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/6.52, allocations: 127.5 kB / 2.813 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/6.523, allocations: 2.296 MB / 2.815 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/6.523, allocations: 0.7768 MB / 2.816 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002551/6.524, allocations: 56.2 kB / 2.816 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/6.524, allocations: 78.27 kB / 2.816 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/6.524, allocations: 2.531 kB / 2.816 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/6.584, allocations: 22.5 MB / 2.838 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/6.584, allocations: 255.5 kB / 2.839 GB, free: 200 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/9.349, allocations: 0 / 2.839 GB, free: 200 MB / 0.7136 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)