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.001726/0.001726, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.589/1.589, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 66.86 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3519, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1993/0.5512, allocations: 179.6 MB / 1.243 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007066/0.5583, allocations: 4.477 MB / 1.247 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5594, allocations: 27.81 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009972/0.5605, allocations: 182.8 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.5631, allocations: 0.7156 MB / 1.248 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7565/1.32, allocations: 1.386 MB / 1.249 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002703/1.322, allocations: 1.686 MB / 1.251 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/1.323, allocations: 385.5 kB / 1.251 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.324, allocations: 0.5268 MB / 1.252 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/1.325, allocations: 423 kB / 1.252 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/1.325, allocations: 28.88 kB / 1.252 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/1.328, allocations: 1.809 MB / 1.254 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/1.329, allocations: 178.9 kB / 1.254 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004374/1.329, allocations: 287.3 kB / 1.255 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/1.331, allocations: 1.385 MB / 1.256 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.331, allocations: 0 / 1.256 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.331, allocations: 0 / 1.256 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.331, allocations: 0 / 1.256 GB, free: 6.719 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.001957/1.333, allocations: 1.027 MB / 1.257 GB, free: 22.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.333, allocations: 9.781 kB / 1.257 GB, free: 22.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/1.335, allocations: 279.2 kB / 1.257 GB, free: 22.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/1.336, allocations: 435.2 kB / 1.258 GB, free: 21.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/1.336, allocations: 39.56 kB / 1.258 GB, free: 21.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/1.336, allocations: 47.95 kB / 1.258 GB, free: 21.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.337, allocations: 0.5484 MB / 1.258 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.337, allocations: 2.625 kB / 1.258 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/1.337, allocations: 13.98 kB / 1.258 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.337, allocations: 12.56 kB / 1.258 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.338, allocations: 464.5 kB / 1.259 GB, free: 21.67 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.002619/1.341, allocations: 2.117 MB / 1.261 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.342, allocations: 412.3 kB / 1.261 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.343, allocations: 226.3 kB / 1.261 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007212/1.343, allocations: 395.6 kB / 1.262 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006675/1.344, allocations: 298.5 kB / 1.262 GB, free: 19.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/1.344, allocations: 2.25 kB / 1.262 GB, free: 19.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001831/1.346, allocations: 0.6887 MB / 1.263 GB, free: 19.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.346, allocations: 61.06 kB / 1.263 GB, free: 19.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/1.347, allocations: 492.3 kB / 1.263 GB, free: 19.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/1.347, allocations: 35.61 kB / 1.263 GB, free: 19.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/1.347, allocations: 261.7 kB / 1.264 GB, free: 19.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.347, allocations: 124.2 kB / 1.264 GB, free: 19.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.347, allocations: 92.58 kB / 1.264 GB, free: 19.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.347, allocations: 366.2 kB / 1.264 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/1.348, allocations: 192.4 kB / 1.264 GB, free: 19.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/1.348, allocations: 319.2 kB / 1.265 GB, free: 19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/1.349, allocations: 0.5482 MB / 1.265 GB, free: 18.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.349, allocations: 0 / 1.265 GB, free: 18.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001328/1.351, allocations: 0.6508 MB / 1.266 GB, free: 18.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/1.351, allocations: 61.42 kB / 1.266 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.351, allocations: 5.672 kB / 1.266 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.351, allocations: 6.812 kB / 1.266 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/1.351, allocations: 97.86 kB / 1.266 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.351, allocations: 6.641 kB / 1.266 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/1.352, allocations: 83.81 kB / 1.266 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/1.352, allocations: 24.59 kB / 1.266 GB, free: 18.59 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.0002366/1.352, allocations: 202.2 kB / 1.266 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/1.352, allocations: 51.03 kB / 1.266 GB, free: 18.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/1.354, allocations: 0.5368 MB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.354, allocations: 5.031 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.354, allocations: 0 / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.354, allocations: 1.922 kB / 1.267 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/1.356, allocations: 1.347 MB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.356, allocations: 4.562 kB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/1.357, allocations: 76.92 kB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.357, allocations: 8.906 kB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/1.357, allocations: 10.66 kB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.357, allocations: 9.703 kB / 1.268 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.357, allocations: 12.47 kB / 1.268 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/1.359, allocations: 0.9357 MB / 1.269 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/1.359, allocations: 175 kB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/1.359, allocations: 11.11 kB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/1.359, allocations: 47.22 kB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.36, allocations: 51.36 kB / 1.269 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/1.36, allocations: 16.95 kB / 1.27 GB, free: 17.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004749/1.36, allocations: 345 kB / 1.27 GB, free: 17.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.36, allocations: 4 kB / 1.27 GB, free: 17.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006926/1.361, allocations: 153.7 kB / 1.27 GB, free: 17.41 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.0004918/1.361, allocations: 193.8 kB / 1.27 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001299/1.363, allocations: 0.5735 MB / 1.271 GB, free: 17.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.363, allocations: 1.062 kB / 1.271 GB, free: 17.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/1.363, allocations: 296.5 kB / 1.271 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.365, allocations: 272.3 kB / 1.271 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.367, allocations: 1.215 MB / 1.272 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.368, allocations: 0.8668 MB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006611/1.368, allocations: 128.5 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/1.368, allocations: 40.39 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.368, allocations: 0 / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of Templates: time 0.02512/1.394, allocations: 10.21 MB / 1.283 GB, free: 15.13 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)