Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009948/0.0009949, allocations: 180.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009326/0.0009325, allocations: 99.8 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1989, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.082/5.281, allocations: 2.182 GB / 3.067 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/5.282, allocations: 87.95 kB / 3.067 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/6.507, allocations: 407.2 MB / 3.465 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/6.507, allocations: 4 kB / 3.465 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.24e-05/6.507, allocations: 24.03 kB / 3.465 GB, free: 157.1 MB / 0.8698 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.002012/6.509, allocations: 0.9917 MB / 3.466 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/6.509, allocations: 8.031 kB / 3.466 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/6.511, allocations: 286.2 kB / 3.466 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/6.512, allocations: 450.6 kB / 3.466 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/6.512, allocations: 19.95 kB / 3.466 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/6.512, allocations: 31.98 kB / 3.466 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004863/6.513, allocations: 314.5 kB / 3.467 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/6.513, allocations: 449.1 kB / 3.467 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/6.513, allocations: 0 / 3.467 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/6.513, allocations: 0 / 3.467 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/6.513, allocations: 12 kB / 3.467 GB, free: 154.5 MB / 0.8698 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.001916/6.515, allocations: 2.04 MB / 3.469 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/6.516, allocations: 318.5 kB / 3.469 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/6.516, allocations: 162 kB / 3.47 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/6.516, allocations: 395.2 kB / 3.47 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/6.517, allocations: 231.7 kB / 3.47 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/6.517, allocations: 0 / 3.47 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0009761/6.518, allocations: 452.4 kB / 3.471 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/6.518, allocations: 59.34 kB / 3.471 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/6.518, allocations: 309.2 kB / 3.471 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/6.518, allocations: 25.7 kB / 3.471 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/6.518, allocations: 279.9 kB / 3.471 GB, free: 150 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/6.518, allocations: 114.3 kB / 3.471 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/6.518, allocations: 3.938 kB / 3.471 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/6.518, allocations: 358.8 kB / 3.472 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/6.518, allocations: 137 kB / 3.472 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/6.519, allocations: 262.6 kB / 3.472 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/6.519, allocations: 223.8 kB / 3.472 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/6.519, allocations: 4 kB / 3.472 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007556/6.52, allocations: 0.5042 MB / 3.473 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/6.52, allocations: 65.27 kB / 3.473 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/6.52, allocations: 7.938 kB / 3.473 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/6.52, allocations: 4 kB / 3.473 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/6.52, allocations: 108.2 kB / 3.473 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/6.52, allocations: 4 kB / 3.473 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/6.521, allocations: 83.47 kB / 3.473 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/6.521, allocations: 20 kB / 3.473 GB, free: 148.1 MB / 0.8698 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 () * 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.0001126/6.521, allocations: 125.9 kB / 3.473 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006101/6.522, allocations: 408.9 kB / 3.474 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/6.522, allocations: 43.53 kB / 3.474 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007528/6.523, allocations: 477.7 kB / 3.474 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/6.523, allocations: 4 kB / 3.474 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/6.523, allocations: 0 / 3.474 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/6.523, allocations: 7.984 kB / 3.474 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/6.524, allocations: 1.193 MB / 3.475 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/6.524, allocations: 4.031 kB / 3.475 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/6.524, allocations: 83.89 kB / 3.475 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/6.525, allocations: 8 kB / 3.475 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/6.525, allocations: 4 kB / 3.475 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/6.525, allocations: 15.94 kB / 3.475 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/6.525, allocations: 7.938 kB / 3.475 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/6.526, allocations: 0.9644 MB / 3.476 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/6.526, allocations: 156.4 kB / 3.476 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/6.526, allocations: 11.98 kB / 3.476 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/6.526, allocations: 43.89 kB / 3.476 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/6.526, allocations: 55.89 kB / 3.477 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/6.526, allocations: 19.98 kB / 3.477 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001865/6.527, allocations: 239 kB / 3.477 GB, free: 144 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.527, allocations: 0 / 3.477 GB, free: 144 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008903/6.528, allocations: 239.7 kB / 3.477 GB, free: 143.7 MB / 0.8698 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) * 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.003418/6.531, allocations: 4.03 MB / 3.481 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006083/6.532, allocations: 474 kB / 3.481 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/6.532, allocations: 0 / 3.481 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/6.532, allocations: 231.7 kB / 3.482 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/6.533, allocations: 185.8 kB / 3.482 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/6.535, allocations: 0.8878 MB / 3.483 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/6.535, allocations: 0.882 MB / 3.484 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004264/6.535, allocations: 108.1 kB / 3.484 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/6.535, allocations: 175.3 kB / 3.484 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/6.535, allocations: 0 / 3.484 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/6.575, allocations: 22.74 MB / 3.506 GB, free: 114 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/6.575, allocations: 184.2 kB / 3.506 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/9.174, allocations: 7.938 kB / 3.506 GB, free: 113.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)