Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, 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.001324/0.001324, allocations: 192 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7447 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.41 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1805/0.4678, allocations: 174.5 MB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6106/1.078, allocations: 12.84 MB / 1.25 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/1.08, allocations: 32.19 kB / 1.25 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/1.081, allocations: 389.5 kB / 1.251 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/1.084, allocations: 0.9209 MB / 1.252 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/1.088, allocations: 1.672 MB / 1.253 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004136/1.092, allocations: 2.867 MB / 1.256 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/1.094, allocations: 1.455 MB / 1.258 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00505/1.099, allocations: 1.26 MB / 1.259 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/1.101, allocations: 0.8675 MB / 1.26 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006115/1.102, allocations: 89.12 kB / 1.26 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/1.106, allocations: 1.465 MB / 1.261 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/1.107, allocations: 413.3 kB / 1.262 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/1.109, allocations: 0.7991 MB / 1.262 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004668/1.114, allocations: 2.732 MB / 1.265 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.114, allocations: 0.6875 kB / 1.265 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/1.114, allocations: 0 / 1.265 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.516e-05/1.114, allocations: 1.031 kB / 1.265 GB, free: 5.207 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.00404/1.118, allocations: 2.029 MB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.118, allocations: 9.781 kB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/1.121, allocations: 412.6 kB / 1.267 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.122, allocations: 0.9821 MB / 1.268 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/1.122, allocations: 103.1 kB / 1.268 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.123, allocations: 136.3 kB / 1.269 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/1.125, allocations: 1.528 MB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.126, allocations: 1.312 kB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.126, allocations: 62.7 kB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/1.126, allocations: 32.53 kB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/1.129, allocations: 1.584 MB / 1.272 GB, free: 19.5 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.008957/1.138, allocations: 5.317 MB / 1.277 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/1.14, allocations: 1.529 MB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/1.141, allocations: 479.1 kB / 1.279 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/1.142, allocations: 429.2 kB / 1.279 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.143, allocations: 0.6922 MB / 1.28 GB, free: 16.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/1.143, allocations: 0 / 1.28 GB, free: 16.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004293/1.148, allocations: 1.668 MB / 1.282 GB, free: 15.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.148, allocations: 198.2 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.149, allocations: 0.8928 MB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/1.149, allocations: 46.77 kB / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/1.149, allocations: 0.5956 MB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.15, allocations: 356 kB / 1.284 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/1.15, allocations: 221.3 kB / 1.284 GB, free: 14.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.15, allocations: 344.6 kB / 1.284 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/1.151, allocations: 400.5 kB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/1.152, allocations: 0.5729 MB / 1.285 GB, free: 14.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/1.153, allocations: 0.9545 MB / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.153, allocations: 5.125 kB / 1.286 GB, free: 14.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00273/1.156, allocations: 1.228 MB / 1.287 GB, free: 14.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.156, allocations: 9 kB / 1.287 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.156, allocations: 7.812 kB / 1.287 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/1.157, allocations: 89.42 kB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.158, allocations: 252.5 kB / 1.288 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/1.16, allocations: 1.544 MB / 1.289 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.161, allocations: 155.2 kB / 1.289 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.161, allocations: 56.66 kB / 1.289 GB, free: 12.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006841/1.162, allocations: 342.2 kB / 1.29 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.162, allocations: 125.5 kB / 1.29 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/1.165, allocations: 1.432 MB / 1.291 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.165, allocations: 11.94 kB / 1.291 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.165, allocations: 4 kB / 1.291 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.165, allocations: 6.266 kB / 1.291 GB, free: 12.52 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 postOpt removeSimpleEquations (simulation): time 0.004688/1.17, allocations: 2.88 MB / 1.294 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.17, allocations: 1.094 kB / 1.294 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.171, allocations: 217.9 kB / 1.294 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/1.172, allocations: 85.88 kB / 1.294 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/1.172, allocations: 40.92 kB / 1.294 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.174, allocations: 1.554 MB / 1.296 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.174, allocations: 5.125 kB / 1.296 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/1.177, allocations: 1.327 MB / 1.297 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/1.177, allocations: 352.2 kB / 1.297 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/1.178, allocations: 30.91 kB / 1.297 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.179, allocations: 104.7 kB / 1.298 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.179, allocations: 86.62 kB / 1.298 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.179, allocations: 59.05 kB / 1.298 GB, free: 10.24 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001037/1.18, allocations: 0.6161 MB / 1.298 GB, free: 10.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.18, allocations: 1.281 kB / 1.298 GB, free: 10.13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001993/1.182, allocations: 0.4962 MB / 1.299 GB, free: 10.05 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/1.184, allocations: 0.7043 MB / 1.299 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002548/1.187, allocations: 1.146 MB / 1.301 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.187, allocations: 1.406 kB / 1.301 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.188, allocations: 0.6749 MB / 1.301 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.191, allocations: 0.495 MB / 1.302 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/1.195, allocations: 2.945 MB / 1.305 GB, free: 8.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/1.196, allocations: 1.211 MB / 1.306 GB, free: 7.277 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001767/1.198, allocations: 386.4 kB / 1.306 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/1.199, allocations: 141.3 kB / 1.306 GB, free: 7.152 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.199, allocations: 3.938 kB / 1.306 GB, free: 7.148 MB / 1.014 GB Notification: Performance of Templates: time 0.03925/1.238, allocations: 23.54 MB / 1.329 GB, free: 1.238 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)