Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",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.95/0.95, allocations: 143.3 MB / 158.3 MB, free: 5.801 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.00131/0.00131, allocations: 177.1 kB / 191.5 MB, free: 5.762 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.7/1.7, 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.001138/0.001138, allocations: 92.33 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 279.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004666, allocations: 13.66 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/5.637, allocations: 1.829 GB / 2.603 GB, free: 191.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/5.637, allocations: 91.64 kB / 2.603 GB, free: 191.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.397/7.034, allocations: 430.5 MB / 3.023 GB, free: 70.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.545e-06/7.034, allocations: 0 / 3.023 GB, free: 70.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.387e-05/7.034, allocations: 19.98 kB / 3.023 GB, free: 70.08 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002594/7.037, allocations: 1.079 MB / 3.024 GB, free: 68.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/7.037, allocations: 12.03 kB / 3.024 GB, free: 68.93 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/7.037, allocations: 82.53 kB / 3.024 GB, free: 68.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/7.039, allocations: 278.9 kB / 3.024 GB, free: 68.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/7.04, allocations: 459.5 kB / 3.025 GB, free: 68.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/7.04, allocations: 36.94 kB / 3.025 GB, free: 68.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/7.04, allocations: 47.94 kB / 3.025 GB, free: 68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/7.041, allocations: 0.5508 MB / 3.025 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/7.041, allocations: 0 / 3.025 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/7.041, allocations: 16 kB / 3.026 GB, free: 67.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/7.041, allocations: 8 kB / 3.026 GB, free: 67.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/7.042, allocations: 471.6 kB / 3.026 GB, free: 66.93 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.002687/7.045, allocations: 2.147 MB / 3.028 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/7.046, allocations: 430.3 kB / 3.028 GB, free: 64.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/7.047, allocations: 396.4 kB / 3.029 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/7.047, allocations: 294.8 kB / 3.029 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/7.047, allocations: 0 / 3.029 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001654/7.049, allocations: 0.7132 MB / 3.03 GB, free: 62.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/7.049, allocations: 63.34 kB / 3.03 GB, free: 62.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/7.05, allocations: 433.3 kB / 3.03 GB, free: 62.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/7.05, allocations: 33.7 kB / 3.03 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/7.05, allocations: 268.3 kB / 3.031 GB, free: 61.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/7.05, allocations: 114.3 kB / 3.031 GB, free: 61.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/7.05, allocations: 8 kB / 3.031 GB, free: 61.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001366/7.05, allocations: 370.8 kB / 3.031 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/7.05, allocations: 200.9 kB / 3.031 GB, free: 61.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/7.051, allocations: 338.7 kB / 3.032 GB, free: 60.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/7.052, allocations: 288.6 kB / 3.032 GB, free: 60.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/7.052, allocations: 4 kB / 3.032 GB, free: 60.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001147/7.053, allocations: 0.6641 MB / 3.033 GB, free: 59.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/7.053, allocations: 59.41 kB / 3.033 GB, free: 59.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/7.053, allocations: 4 kB / 3.033 GB, free: 59.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/7.053, allocations: 11.94 kB / 3.033 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/7.053, allocations: 103.8 kB / 3.033 GB, free: 59.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/7.053, allocations: 7.984 kB / 3.033 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/7.054, allocations: 95.45 kB / 3.033 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/7.054, allocations: 31.98 kB / 3.033 GB, free: 59.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002588/7.054, allocations: 193.6 kB / 3.033 GB, free: 59.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/7.054, allocations: 63.3 kB / 3.033 GB, free: 59.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/7.056, allocations: 0.5486 MB / 3.034 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/7.056, allocations: 0 / 3.034 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/7.056, allocations: 4 kB / 3.034 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/7.056, allocations: 4 kB / 3.034 GB, free: 58.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/7.058, allocations: 1.352 MB / 3.035 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/7.058, allocations: 4 kB / 3.035 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/7.058, allocations: 79.89 kB / 3.035 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/7.058, allocations: 4 kB / 3.035 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/7.058, allocations: 15.98 kB / 3.035 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/7.058, allocations: 4 kB / 3.035 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/7.058, allocations: 12.02 kB / 3.035 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/7.06, allocations: 1.114 MB / 3.036 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/7.06, allocations: 172.2 kB / 3.036 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/7.06, allocations: 15.98 kB / 3.036 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/7.061, allocations: 52.02 kB / 3.036 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/7.061, allocations: 51.83 kB / 3.036 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/7.061, allocations: 23.92 kB / 3.036 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004279/7.062, allocations: 342.8 kB / 3.037 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/7.062, allocations: 4 kB / 3.037 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001438/7.063, allocations: 291.7 kB / 3.037 GB, free: 54.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00445/7.067, allocations: 3.991 MB / 3.041 GB, free: 50.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00113/7.069, allocations: 0.6114 MB / 3.042 GB, free: 50.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/7.069, allocations: 0 / 3.042 GB, free: 50.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/7.069, allocations: 300.6 kB / 3.042 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/7.07, allocations: 275.7 kB / 3.042 GB, free: 49.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/7.075, allocations: 5.14 MB / 3.047 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/7.076, allocations: 0.8746 MB / 3.048 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005262/7.076, allocations: 132.6 kB / 3.048 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/7.077, allocations: 175.4 kB / 3.048 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.392e-06/7.077, allocations: 0 / 3.048 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/7.136, allocations: 37.16 MB / 3.085 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/7.136, allocations: 233.2 kB / 3.085 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/10.74, allocations: 2.25 kB / 3.085 GB, free: 5.969 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)