Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 61.53 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.342, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1934/0.5354, allocations: 181.8 MB / 1.246 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7279/1.263, allocations: 4.459 MB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/1.264, allocations: 22.34 kB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007446/1.265, allocations: 242.8 kB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/1.267, allocations: 0.7603 MB / 1.251 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/1.271, allocations: 1.506 MB / 1.252 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002094/1.274, allocations: 1.255 MB / 1.254 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/1.274, allocations: 453.2 kB / 1.254 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/1.276, allocations: 0.5652 MB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/1.276, allocations: 411 kB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.276, allocations: 45.81 kB / 1.255 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/1.28, allocations: 1.538 MB / 1.257 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/1.281, allocations: 194.9 kB / 1.257 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/1.281, allocations: 305.7 kB / 1.257 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/1.285, allocations: 1.291 MB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.285, allocations: 0 / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/1.285, allocations: 2.812 kB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.474e-05/1.285, allocations: 0 / 1.258 GB, free: 5.668 MB / 0.9981 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.00267/1.288, allocations: 1.026 MB / 1.259 GB, free: 21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.288, allocations: 8.859 kB / 1.259 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/1.29, allocations: 280.2 kB / 1.26 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/1.291, allocations: 442 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/1.291, allocations: 33.44 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/1.291, allocations: 44.8 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/1.292, allocations: 0.5518 MB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.292, allocations: 0 / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/1.292, allocations: 19.33 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/1.292, allocations: 7.875 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/1.293, allocations: 461.6 kB / 1.261 GB, free: 20.61 MB / 1.014 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.002717/1.296, allocations: 2.135 MB / 1.263 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/1.297, allocations: 407 kB / 1.264 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/1.297, allocations: 229.8 kB / 1.264 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/1.298, allocations: 400.5 kB / 1.264 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006632/1.299, allocations: 292.6 kB / 1.265 GB, free: 18.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 3.797e-06/1.299, allocations: 0 / 1.265 GB, free: 18.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001921/1.301, allocations: 0.6888 MB / 1.265 GB, free: 18.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.301, allocations: 57.56 kB / 1.265 GB, free: 18.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/1.302, allocations: 498.8 kB / 1.266 GB, free: 18.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/1.302, allocations: 33.42 kB / 1.266 GB, free: 18.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/1.302, allocations: 260.8 kB / 1.266 GB, free: 18.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.302, allocations: 123.6 kB / 1.266 GB, free: 18.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.302, allocations: 93.98 kB / 1.266 GB, free: 18.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.302, allocations: 369.5 kB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/1.303, allocations: 194.1 kB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/1.304, allocations: 317.9 kB / 1.267 GB, free: 17.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.305, allocations: 0.5435 MB / 1.268 GB, free: 17.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/1.305, allocations: 3.781 kB / 1.268 GB, free: 17.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001478/1.306, allocations: 0.6486 MB / 1.268 GB, free: 17.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.306, allocations: 59.02 kB / 1.268 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.306, allocations: 4.344 kB / 1.268 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.306, allocations: 10.12 kB / 1.268 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/1.307, allocations: 94.47 kB / 1.268 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.307, allocations: 7.5 kB / 1.268 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/1.307, allocations: 84.67 kB / 1.268 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/1.307, allocations: 23.19 kB / 1.268 GB, free: 17.57 MB / 1.014 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002658/1.308, allocations: 198.2 kB / 1.269 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/1.308, allocations: 52.5 kB / 1.269 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.309, allocations: 0.5337 MB / 1.269 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.309, allocations: 3.406 kB / 1.269 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.309, allocations: 4.109 kB / 1.269 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.309, allocations: 2.297 kB / 1.269 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/1.312, allocations: 1.347 MB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.312, allocations: 5.281 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/1.313, allocations: 75.36 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/1.313, allocations: 8.859 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.313, allocations: 10.86 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/1.313, allocations: 8.797 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.313, allocations: 6.797 kB / 1.271 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.315, allocations: 0.9389 MB / 1.272 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/1.315, allocations: 178.8 kB / 1.272 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.315, allocations: 10.86 kB / 1.272 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/1.316, allocations: 34.12 kB / 1.272 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.316, allocations: 59.03 kB / 1.272 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/1.316, allocations: 12.88 kB / 1.272 GB, free: 16.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00057/1.317, allocations: 346 kB / 1.272 GB, free: 16.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.317, allocations: 0.9375 kB / 1.272 GB, free: 16.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008291/1.317, allocations: 155.8 kB / 1.272 GB, free: 16.43 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005744/1.318, allocations: 192 kB / 1.273 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.319, allocations: 0.6002 MB / 1.273 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.32, allocations: 1.625 kB / 1.273 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/1.32, allocations: 296.3 kB / 1.273 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/1.322, allocations: 288.1 kB / 1.274 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/1.325, allocations: 1.049 MB / 1.275 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.325, allocations: 0.8672 MB / 1.276 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007552/1.326, allocations: 124.1 kB / 1.276 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/1.326, allocations: 46.14 kB / 1.276 GB, free: 14.97 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.326, allocations: 1.156 kB / 1.276 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Templates: time 0.02716/1.353, allocations: 10.78 MB / 1.286 GB, free: 14.43 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)