Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.845/2.845, allocations: 284.9 MB / 292.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 83.73 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.443e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7823, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.843/6.625, allocations: 2.062 GB / 3.026 GB, free: 56.08 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/6.625, allocations: 90.88 kB / 3.026 GB, free: 56.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.022/8.648, allocations: 420.8 MB / 3.437 GB, free: 23.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.896e-06/8.648, allocations: 4 kB / 3.437 GB, free: 23.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.979e-05/8.648, allocations: 19.98 kB / 3.437 GB, free: 23.72 MB / 0.948 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.002944/8.651, allocations: 0.9842 MB / 3.438 GB, free: 22.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/8.651, allocations: 12.03 kB / 3.438 GB, free: 22.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/8.654, allocations: 275 kB / 3.438 GB, free: 22.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/8.655, allocations: 468.4 kB / 3.438 GB, free: 21.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/8.656, allocations: 12 kB / 3.438 GB, free: 21.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/8.656, allocations: 28 kB / 3.438 GB, free: 21.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000926/8.657, allocations: 318.5 kB / 3.439 GB, free: 21.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/8.658, allocations: 449.1 kB / 3.439 GB, free: 21.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/8.658, allocations: 3.938 kB / 3.439 GB, free: 21.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/8.658, allocations: 0 / 3.439 GB, free: 21.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/8.658, allocations: 12 kB / 3.439 GB, free: 21.06 MB / 0.948 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.003742/8.661, allocations: 2.02 MB / 3.441 GB, free: 18.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/8.662, allocations: 306.7 kB / 3.441 GB, free: 18.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/8.663, allocations: 173.4 kB / 3.442 GB, free: 18.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008367/8.664, allocations: 400.3 kB / 3.442 GB, free: 17.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/8.664, allocations: 234.7 kB / 3.442 GB, free: 17.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.316e-06/8.664, allocations: 3.938 kB / 3.442 GB, free: 17.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.00184/8.666, allocations: 452.4 kB / 3.443 GB, free: 17.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/8.666, allocations: 59.41 kB / 3.443 GB, free: 17.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/8.666, allocations: 313.1 kB / 3.443 GB, free: 16.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/8.667, allocations: 25.7 kB / 3.443 GB, free: 16.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/8.667, allocations: 275.9 kB / 3.443 GB, free: 16.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/8.667, allocations: 118.3 kB / 3.443 GB, free: 16.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/8.667, allocations: 0 / 3.443 GB, free: 16.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/8.667, allocations: 350.8 kB / 3.444 GB, free: 16.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/8.667, allocations: 140.9 kB / 3.444 GB, free: 15.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/8.668, allocations: 265.9 kB / 3.444 GB, free: 15.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/8.669, allocations: 219.7 kB / 3.444 GB, free: 15.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/8.669, allocations: 4 kB / 3.444 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001529/8.67, allocations: 0.5079 MB / 3.445 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/8.67, allocations: 60.5 kB / 3.445 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/8.67, allocations: 4 kB / 3.445 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/8.67, allocations: 7.953 kB / 3.445 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/8.671, allocations: 112.2 kB / 3.445 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/8.671, allocations: 4 kB / 3.445 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/8.672, allocations: 83.53 kB / 3.445 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/8.673, allocations: 20 kB / 3.445 GB, free: 14.64 MB / 0.948 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.0001611/8.673, allocations: 128.8 kB / 3.445 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001258/8.674, allocations: 408.5 kB / 3.446 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/8.674, allocations: 47.39 kB / 3.446 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/8.676, allocations: 462.6 kB / 3.446 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/8.676, allocations: 11.98 kB / 3.446 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/8.676, allocations: 0 / 3.446 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/8.676, allocations: 0 / 3.446 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/8.678, allocations: 1.195 MB / 3.447 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/8.679, allocations: 4 kB / 3.447 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/8.679, allocations: 84.27 kB / 3.447 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/8.679, allocations: 8 kB / 3.447 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/8.679, allocations: 11.98 kB / 3.447 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/8.679, allocations: 4 kB / 3.447 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/8.679, allocations: 4 kB / 3.447 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/8.681, allocations: 0.9767 MB / 3.448 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/8.682, allocations: 164.3 kB / 3.449 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/8.682, allocations: 16.06 kB / 3.449 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/8.683, allocations: 43.95 kB / 3.449 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/8.683, allocations: 51.92 kB / 3.449 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/8.683, allocations: 15.95 kB / 3.449 GB, free: 10.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003459/8.683, allocations: 235 kB / 3.449 GB, free: 10.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/8.683, allocations: 3.938 kB / 3.449 GB, free: 10.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001293/8.685, allocations: 251.6 kB / 3.449 GB, free: 10.29 MB / 0.948 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.004868/8.689, allocations: 4.022 MB / 3.453 GB, free: 6.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001118/8.691, allocations: 467.4 kB / 3.453 GB, free: 5.609 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/8.691, allocations: 3.938 kB / 3.453 GB, free: 5.605 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000673/8.691, allocations: 229.3 kB / 3.454 GB, free: 5.383 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/8.693, allocations: 181.1 kB / 3.454 GB, free: 5.211 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/8.696, allocations: 0.8945 MB / 3.455 GB, free: 4.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/8.696, allocations: 0.8781 MB / 3.456 GB, free: 3.328 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008041/8.697, allocations: 112.2 kB / 3.456 GB, free: 3.219 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/8.697, allocations: 175.4 kB / 3.456 GB, free: 3.047 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/8.697, allocations: 0 / 3.456 GB, free: 3.047 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9935/9.691, allocations: 22.74 MB / 3.478 GB, free: 222.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/9.691, allocations: 169.4 kB / 3.478 GB, free: 222.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/13.36, allocations: 1.969 kB / 3.478 GB, free: 222.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)