Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5621/0.5621, allocations: 91.97 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.874/1.874, allocations: 223.1 MB / 354.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 103.1 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004219, allocations: 11.98 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 72.31 MB / 0.5689 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.332, allocations: 1.822 GB / 2.391 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/5.332, allocations: 87.95 kB / 2.391 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.44/6.772, allocations: 430.4 MB / 2.811 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/6.772, allocations: 0 / 2.811 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.213e-05/6.772, allocations: 16 kB / 2.811 GB, free: 106.1 MB / 0.6042 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.002576/6.774, allocations: 1.07 MB / 2.812 GB, free: 105 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/6.774, allocations: 12.03 kB / 2.812 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.143e-05/6.775, allocations: 78.53 kB / 2.812 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/6.777, allocations: 278.9 kB / 2.813 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/6.777, allocations: 473.5 kB / 2.813 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/6.778, allocations: 33 kB / 2.813 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/6.778, allocations: 51.98 kB / 2.813 GB, free: 104 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/6.779, allocations: 0.5429 MB / 2.814 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/6.779, allocations: 0 / 2.814 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/6.779, allocations: 20 kB / 2.814 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/6.779, allocations: 12 kB / 2.814 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/6.78, allocations: 467.6 kB / 2.814 GB, free: 103 MB / 0.6042 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.002427/6.782, allocations: 2.141 MB / 2.816 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/6.783, allocations: 418.5 kB / 2.817 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/6.784, allocations: 396.3 kB / 2.817 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/6.784, allocations: 299.4 kB / 2.817 GB, free: 99.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.736e-06/6.784, allocations: 0 / 2.817 GB, free: 99.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001594/6.786, allocations: 0.7095 MB / 2.818 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/6.786, allocations: 63.41 kB / 2.818 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/6.786, allocations: 429.3 kB / 2.818 GB, free: 98.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/6.786, allocations: 41.69 kB / 2.818 GB, free: 98.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/6.786, allocations: 260.4 kB / 2.819 GB, free: 97.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/6.786, allocations: 129 kB / 2.819 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/6.787, allocations: 8 kB / 2.819 GB, free: 97.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.787, allocations: 362.8 kB / 2.819 GB, free: 97.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/6.787, allocations: 208.8 kB / 2.819 GB, free: 97.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/6.787, allocations: 334.7 kB / 2.82 GB, free: 96.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/6.788, allocations: 288.4 kB / 2.82 GB, free: 96.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/6.788, allocations: 4 kB / 2.82 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001057/6.789, allocations: 0.668 MB / 2.821 GB, free: 95.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/6.789, allocations: 67.47 kB / 2.821 GB, free: 95.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/6.789, allocations: 4 kB / 2.821 GB, free: 95.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/6.789, allocations: 4 kB / 2.821 GB, free: 95.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/6.79, allocations: 103.9 kB / 2.821 GB, free: 95.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/6.79, allocations: 7.938 kB / 2.821 GB, free: 95.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/6.79, allocations: 95.38 kB / 2.821 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/6.79, allocations: 27.98 kB / 2.821 GB, free: 95.61 MB / 0.6042 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.0002073/6.79, allocations: 196.7 kB / 2.821 GB, free: 95.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/6.791, allocations: 55.3 kB / 2.821 GB, free: 95.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/6.792, allocations: 0.5565 MB / 2.822 GB, free: 94.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/6.792, allocations: 4 kB / 2.822 GB, free: 94.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/6.792, allocations: 0 / 2.822 GB, free: 94.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/6.792, allocations: 4.219 kB / 2.822 GB, free: 94.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/6.794, allocations: 1.352 MB / 2.823 GB, free: 93.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/6.794, allocations: 4 kB / 2.823 GB, free: 93.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/6.794, allocations: 75.89 kB / 2.823 GB, free: 93.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/6.794, allocations: 8 kB / 2.823 GB, free: 93.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/6.794, allocations: 12 kB / 2.823 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/6.794, allocations: 15.94 kB / 2.823 GB, free: 93.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/6.794, allocations: 7.938 kB / 2.823 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/6.795, allocations: 1.117 MB / 2.824 GB, free: 91.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/6.796, allocations: 168.4 kB / 2.824 GB, free: 91.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/6.796, allocations: 11.98 kB / 2.824 GB, free: 91.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/6.796, allocations: 63.86 kB / 2.824 GB, free: 91.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/6.796, allocations: 51.83 kB / 2.825 GB, free: 91.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/6.796, allocations: 15.98 kB / 2.825 GB, free: 91.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003318/6.797, allocations: 342.8 kB / 2.825 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.797, allocations: 0 / 2.825 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001033/6.798, allocations: 292 kB / 2.825 GB, free: 91 MB / 0.6042 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.004398/6.802, allocations: 3.997 MB / 2.829 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001206/6.803, allocations: 0.6079 MB / 2.83 GB, free: 86.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/6.803, allocations: 0 / 2.83 GB, free: 86.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/6.804, allocations: 304 kB / 2.83 GB, free: 85.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/6.805, allocations: 268.5 kB / 2.83 GB, free: 85.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/6.81, allocations: 5.14 MB / 2.835 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/6.81, allocations: 0.8746 MB / 2.836 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006083/6.811, allocations: 128.7 kB / 2.836 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/6.811, allocations: 175.4 kB / 2.836 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/6.811, allocations: 0 / 2.836 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/6.864, allocations: 37.13 MB / 2.873 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/6.864, allocations: 215.8 kB / 2.873 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/10.16, allocations: 0 / 2.873 GB, free: 42.02 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)