Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001283/0.001283, 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.001486/0.001486, allocations: 194.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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 62.89 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.19/0.5058, allocations: 174.5 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5649/1.071, allocations: 12.83 MB / 1.25 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/1.072, allocations: 28.34 kB / 1.25 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/1.074, allocations: 382.9 kB / 1.251 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/1.076, allocations: 0.9205 MB / 1.252 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/1.081, allocations: 1.67 MB / 1.253 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003516/1.084, allocations: 2.861 MB / 1.256 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.086, allocations: 1.461 MB / 1.258 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/1.091, allocations: 1.276 MB / 1.259 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/1.092, allocations: 0.8627 MB / 1.26 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/1.092, allocations: 91.94 kB / 1.26 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.095, allocations: 1.459 MB / 1.261 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000437/1.095, allocations: 413.3 kB / 1.262 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009247/1.096, allocations: 0.8042 MB / 1.262 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/1.1, allocations: 2.731 MB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.1, allocations: 6.016 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/1.1, allocations: 0 / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.011e-05/1.1, allocations: 0 / 1.265 GB, free: 5.605 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.003873/1.104, allocations: 2.017 MB / 1.267 GB, free: 20.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.104, allocations: 11.75 kB / 1.267 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/1.107, allocations: 404.6 kB / 1.267 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.109, allocations: 0.9945 MB / 1.268 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/1.109, allocations: 105.3 kB / 1.268 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.109, allocations: 131 kB / 1.269 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.112, allocations: 1.524 MB / 1.27 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.112, allocations: 5.781 kB / 1.27 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.112, allocations: 60.72 kB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/1.112, allocations: 33.88 kB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.115, allocations: 1.581 MB / 1.272 GB, free: 19.9 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.008628/1.124, allocations: 5.318 MB / 1.277 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/1.127, allocations: 1.519 MB / 1.278 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/1.128, allocations: 482.8 kB / 1.279 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007827/1.128, allocations: 427 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/1.13, allocations: 0.696 MB / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 5.43e-06/1.13, allocations: 0 / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004896/1.135, allocations: 1.663 MB / 1.282 GB, free: 16.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.135, allocations: 198.2 kB / 1.282 GB, free: 16.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.136, allocations: 0.8965 MB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/1.136, allocations: 49.42 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/1.137, allocations: 0.5935 MB / 1.283 GB, free: 15.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.137, allocations: 361.1 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/1.138, allocations: 212.7 kB / 1.284 GB, free: 15.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.138, allocations: 350.9 kB / 1.284 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/1.139, allocations: 401.2 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009354/1.14, allocations: 0.5657 MB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.141, allocations: 0.9571 MB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.141, allocations: 1.125 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002972/1.144, allocations: 1.238 MB / 1.287 GB, free: 14.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.144, allocations: 7.281 kB / 1.287 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.144, allocations: 3.469 kB / 1.287 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/1.145, allocations: 85.33 kB / 1.287 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.146, allocations: 260.5 kB / 1.288 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.148, allocations: 1.546 MB / 1.289 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.15, allocations: 149.1 kB / 1.289 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.15, allocations: 51.98 kB / 1.289 GB, free: 13.23 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.0009172/1.151, allocations: 348.1 kB / 1.29 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/1.151, allocations: 123.1 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/1.155, allocations: 1.434 MB / 1.291 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.155, allocations: 11.41 kB / 1.291 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.155, allocations: 1.219 kB / 1.291 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.155, allocations: 6.188 kB / 1.291 GB, free: 12.92 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.006794/1.162, allocations: 2.879 MB / 1.294 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.162, allocations: 4.25 kB / 1.294 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.163, allocations: 221.2 kB / 1.294 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/1.163, allocations: 85.39 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.164, allocations: 41.94 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/1.165, allocations: 1.567 MB / 1.296 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.165, allocations: 0 / 1.296 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/1.169, allocations: 1.319 MB / 1.297 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009835/1.17, allocations: 358 kB / 1.297 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/1.17, allocations: 30.73 kB / 1.297 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.172, allocations: 93.77 kB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/1.172, allocations: 85.19 kB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.172, allocations: 59.31 kB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001369/1.173, allocations: 0.6159 MB / 1.298 GB, free: 10.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.173, allocations: 4 kB / 1.298 GB, free: 10.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002043/1.175, allocations: 0.4895 MB / 1.299 GB, free: 10.45 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.001924/1.177, allocations: 0.7092 MB / 1.299 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.18, allocations: 1.151 MB / 1.301 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.18, allocations: 1.219 kB / 1.301 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/1.181, allocations: 0.6736 MB / 1.301 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.184, allocations: 0.5001 MB / 1.302 GB, free: 9.902 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/1.189, allocations: 2.95 MB / 1.305 GB, free: 8.406 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.191, allocations: 1.215 MB / 1.306 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001804/1.192, allocations: 382.7 kB / 1.306 GB, free: 7.551 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.193, allocations: 141.6 kB / 1.306 GB, free: 7.543 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.193, allocations: 0 / 1.306 GB, free: 7.543 MB / 1.014 GB Notification: Performance of Templates: time 0.04559/1.238, allocations: 23.53 MB / 1.329 GB, free: 1.645 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)