Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 192.1 kB / 16.13 MB, free: 6.664 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7447 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.45 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3847, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1922/0.5769, allocations: 179.5 MB / 1.243 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.5834, allocations: 4.483 MB / 1.247 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000891/0.5843, allocations: 19.88 kB / 1.247 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.5853, allocations: 186.8 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.5875, allocations: 0.7117 MB / 1.248 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7768/1.364, allocations: 1.396 MB / 1.249 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003659/1.368, allocations: 1.682 MB / 1.251 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/1.369, allocations: 381.7 kB / 1.251 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/1.37, allocations: 0.5259 MB / 1.252 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/1.371, allocations: 425.6 kB / 1.252 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.088e-05/1.371, allocations: 33.75 kB / 1.252 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/1.375, allocations: 1.812 MB / 1.254 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/1.375, allocations: 170.9 kB / 1.254 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/1.376, allocations: 290.5 kB / 1.255 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/1.379, allocations: 1.391 MB / 1.256 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.379, allocations: 0 / 1.256 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/1.379, allocations: 0 / 1.256 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.739e-05/1.379, allocations: 2.719 kB / 1.256 GB, free: 6.742 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.002206/1.381, allocations: 1.018 MB / 1.257 GB, free: 22.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.381, allocations: 9.625 kB / 1.257 GB, free: 22.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/1.383, allocations: 277.9 kB / 1.257 GB, free: 22.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008459/1.384, allocations: 449.5 kB / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.384, allocations: 32.12 kB / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/1.384, allocations: 46.78 kB / 1.258 GB, free: 21.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/1.386, allocations: 0.5473 MB / 1.258 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.386, allocations: 0.7969 kB / 1.258 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/1.386, allocations: 21.55 kB / 1.258 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/1.386, allocations: 12.56 kB / 1.258 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.387, allocations: 456.8 kB / 1.259 GB, free: 21.7 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.002818/1.39, allocations: 2.119 MB / 1.261 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.391, allocations: 411.5 kB / 1.261 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/1.391, allocations: 227.8 kB / 1.261 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/1.392, allocations: 404 kB / 1.262 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006855/1.393, allocations: 296.6 kB / 1.262 GB, free: 19.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/1.393, allocations: 0 / 1.262 GB, free: 19.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001849/1.395, allocations: 0.6865 MB / 1.263 GB, free: 19.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.395, allocations: 57.39 kB / 1.263 GB, free: 19.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/1.395, allocations: 493.6 kB / 1.263 GB, free: 19.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/1.395, allocations: 35.17 kB / 1.263 GB, free: 19.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/1.396, allocations: 263.9 kB / 1.264 GB, free: 19.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/1.396, allocations: 121.1 kB / 1.264 GB, free: 19.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.396, allocations: 97.84 kB / 1.264 GB, free: 19.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.396, allocations: 366.9 kB / 1.264 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/1.397, allocations: 195.5 kB / 1.264 GB, free: 19.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/1.397, allocations: 316.8 kB / 1.265 GB, free: 19.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.398, allocations: 0.5441 MB / 1.265 GB, free: 18.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.398, allocations: 6.344 kB / 1.265 GB, free: 18.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00136/1.4, allocations: 0.649 MB / 1.266 GB, free: 18.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/1.4, allocations: 61.25 kB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.4, allocations: 3.375 kB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.4, allocations: 9.781 kB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/1.4, allocations: 95.02 kB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.4, allocations: 6.484 kB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/1.401, allocations: 83.17 kB / 1.266 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/1.401, allocations: 26.73 kB / 1.266 GB, free: 18.61 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.0002744/1.401, allocations: 198.2 kB / 1.266 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/1.401, allocations: 50.25 kB / 1.266 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/1.403, allocations: 0.5355 MB / 1.267 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.403, allocations: 3.25 kB / 1.267 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.403, allocations: 1.25 kB / 1.267 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.403, allocations: 1.312 kB / 1.267 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/1.405, allocations: 1.348 MB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.405, allocations: 4.625 kB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/1.406, allocations: 75.02 kB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.406, allocations: 5.406 kB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/1.406, allocations: 14.38 kB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.406, allocations: 9.828 kB / 1.268 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.406, allocations: 7.875 kB / 1.268 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/1.408, allocations: 0.9379 MB / 1.269 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/1.408, allocations: 174.3 kB / 1.269 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/1.408, allocations: 14.91 kB / 1.269 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/1.408, allocations: 42.69 kB / 1.269 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.409, allocations: 51.36 kB / 1.269 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/1.409, allocations: 14.17 kB / 1.27 GB, free: 17.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000474/1.409, allocations: 353.1 kB / 1.27 GB, free: 17.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.409, allocations: 0 / 1.27 GB, free: 17.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006843/1.41, allocations: 156.6 kB / 1.27 GB, free: 17.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.000568/1.41, allocations: 197.9 kB / 1.27 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.412, allocations: 0.5718 MB / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.412, allocations: 0 / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/1.413, allocations: 292.9 kB / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.414, allocations: 280.9 kB / 1.271 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/1.416, allocations: 1.213 MB / 1.272 GB, free: 16.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/1.417, allocations: 0.8635 MB / 1.273 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006675/1.418, allocations: 129 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.418, allocations: 40.73 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.418, allocations: 1.094 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of Templates: time 0.02344/1.441, allocations: 10.2 MB / 1.283 GB, free: 15.16 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)