Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.839/1.839, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 0.6626 GB, free: 4.207 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007635/0.0007635, allocations: 101.6 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.0005361, allocations: 16 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8253, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.118/5.944, allocations: 1.861 GB / 2.887 GB, free: 300.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/5.944, allocations: 91.75 kB / 2.887 GB, free: 300.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/7.578, allocations: 429.3 MB / 3.306 GB, free: 205.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.959e-06/7.578, allocations: 2.406 kB / 3.306 GB, free: 205.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.242e-05/7.578, allocations: 25.97 kB / 3.306 GB, free: 205.4 MB / 0.9792 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.003658/7.582, allocations: 1.056 MB / 3.307 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/7.582, allocations: 12.91 kB / 3.307 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/7.584, allocations: 279.4 kB / 3.308 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/7.585, allocations: 486.7 kB / 3.308 GB, free: 204.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/7.585, allocations: 30.34 kB / 3.308 GB, free: 204.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/7.585, allocations: 51.45 kB / 3.308 GB, free: 204.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/7.586, allocations: 0.5571 MB / 3.309 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/7.586, allocations: 0 / 3.309 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/7.587, allocations: 17.03 kB / 3.309 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/7.587, allocations: 10.97 kB / 3.309 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/7.588, allocations: 469.5 kB / 3.309 GB, free: 204.4 MB / 0.9792 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.0028/7.59, allocations: 2.139 MB / 3.311 GB, free: 203.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/7.591, allocations: 418.6 kB / 3.312 GB, free: 203.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/7.592, allocations: 235.6 kB / 3.312 GB, free: 203.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/7.592, allocations: 394.7 kB / 3.312 GB, free: 202.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/7.593, allocations: 306.5 kB / 3.313 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=37): time 3.046e-06/7.593, allocations: 0 / 3.313 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=37): time 0.00178/7.595, allocations: 0.7102 MB / 3.313 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/7.595, allocations: 54.47 kB / 3.313 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/7.595, allocations: 490 kB / 3.314 GB, free: 202.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/7.596, allocations: 38.39 kB / 3.314 GB, free: 202.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/7.596, allocations: 263.1 kB / 3.314 GB, free: 202.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/7.596, allocations: 122 kB / 3.314 GB, free: 202.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/7.596, allocations: 13.06 kB / 3.314 GB, free: 202.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001282/7.596, allocations: 368.5 kB / 3.315 GB, free: 202 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/7.597, allocations: 206.2 kB / 3.315 GB, free: 202 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/7.597, allocations: 342.2 kB / 3.315 GB, free: 201.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/7.598, allocations: 0.5603 MB / 3.316 GB, free: 201.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/7.598, allocations: 1.938 kB / 3.316 GB, free: 201.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001363/7.599, allocations: 0.6661 MB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/7.6, allocations: 65.03 kB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/7.6, allocations: 2.906 kB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/7.6, allocations: 5.875 kB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/7.6, allocations: 101.2 kB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/7.6, allocations: 11.3 kB / 3.316 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/7.601, allocations: 103.7 kB / 3.317 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/7.601, allocations: 24.62 kB / 3.317 GB, free: 201.5 MB / 0.9792 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.0003148/7.601, allocations: 197.2 kB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/7.601, allocations: 53.88 kB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/7.603, allocations: 0.5452 MB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/7.603, allocations: 3 kB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/7.603, allocations: 5.594 kB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/7.603, allocations: 3.281 kB / 3.317 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/7.606, allocations: 1.357 MB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/7.606, allocations: 7.969 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/7.606, allocations: 83.19 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/7.606, allocations: 6.469 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/7.606, allocations: 14.02 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/7.606, allocations: 10.03 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/7.606, allocations: 6.531 kB / 3.319 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/7.608, allocations: 0.9562 MB / 3.32 GB, free: 200.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/7.608, allocations: 165 kB / 3.32 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/7.609, allocations: 16.38 kB / 3.32 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/7.609, allocations: 53.91 kB / 3.32 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/7.609, allocations: 53.92 kB / 3.32 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/7.609, allocations: 15.47 kB / 3.32 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005182/7.61, allocations: 341.7 kB / 3.32 GB, free: 200.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.81e-07/7.61, allocations: 0 / 3.32 GB, free: 200.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001659/7.612, allocations: 292.6 kB / 3.321 GB, free: 200.3 MB / 0.9792 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.003226/7.615, allocations: 1.464 MB / 3.322 GB, free: 199.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001465/7.616, allocations: 0.6036 MB / 3.323 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/7.616, allocations: 0 / 3.323 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/7.617, allocations: 309.3 kB / 3.323 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/7.619, allocations: 266.6 kB / 3.323 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/7.621, allocations: 1.215 MB / 3.324 GB, free: 199.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/7.622, allocations: 0.8655 MB / 3.325 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007292/7.622, allocations: 124.4 kB / 3.325 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/7.623, allocations: 39.84 kB / 3.325 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of SimCode: time 8.72e-07/7.623, allocations: 0 / 3.325 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.05378/7.676, allocations: 27.47 MB / 3.352 GB, free: 197.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)