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.0007981/0.000798, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005457/0.005457, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 11.97 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3337, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1827/0.5164, allocations: 172.2 MB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6285/1.145, allocations: 12.67 MB / 1.255 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/1.147, allocations: 29.22 kB / 1.255 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/1.148, allocations: 383.9 kB / 1.255 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/1.152, allocations: 0.9136 MB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004613/1.157, allocations: 1.679 MB / 1.258 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004081/1.161, allocations: 2.861 MB / 1.26 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/1.163, allocations: 1.369 MB / 1.262 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/1.169, allocations: 1.163 MB / 1.263 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/1.171, allocations: 0.7328 MB / 1.264 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/1.171, allocations: 45.44 kB / 1.264 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/1.175, allocations: 1.42 MB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/1.175, allocations: 337.1 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/1.177, allocations: 0.7357 MB / 1.266 GB, free: 21.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/1.181, allocations: 2.662 MB / 1.269 GB, free: 21.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.181, allocations: 2.688 kB / 1.269 GB, free: 21.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.234e-06/1.181, allocations: 1.859 kB / 1.269 GB, free: 21.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.974e-05/1.182, allocations: 0 / 1.269 GB, free: 21.69 MB / 1.014 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.00373/1.185, allocations: 1.693 MB / 1.27 GB, free: 20.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.185, allocations: 10.12 kB / 1.27 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/1.188, allocations: 419.5 kB / 1.271 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.19, allocations: 0.9927 MB / 1.272 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/1.19, allocations: 99.8 kB / 1.272 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.19, allocations: 131.9 kB / 1.272 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/1.193, allocations: 1.533 MB / 1.273 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.194, allocations: 1.156 kB / 1.273 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.194, allocations: 62.16 kB / 1.273 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/1.194, allocations: 32.72 kB / 1.273 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/1.197, allocations: 1.59 MB / 1.275 GB, free: 20.01 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.008716/1.206, allocations: 5.349 MB / 1.28 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/1.208, allocations: 1.531 MB / 1.282 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009009/1.209, allocations: 485.9 kB / 1.282 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/1.21, allocations: 438.6 kB / 1.283 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.211, allocations: 0.695 MB / 1.283 GB, free: 16.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.777e-06/1.211, allocations: 1.25 kB / 1.283 GB, free: 16.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004482/1.216, allocations: 1.682 MB / 1.285 GB, free: 16.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.216, allocations: 198 kB / 1.285 GB, free: 16.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.217, allocations: 0.8928 MB / 1.286 GB, free: 15.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.218, allocations: 51.36 kB / 1.286 GB, free: 15.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/1.218, allocations: 0.5947 MB / 1.287 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/1.218, allocations: 355.7 kB / 1.287 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.218, allocations: 87.03 kB / 1.287 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.219, allocations: 349.9 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008095/1.219, allocations: 402.6 kB / 1.288 GB, free: 15.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/1.22, allocations: 0.579 MB / 1.288 GB, free: 14.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/1.222, allocations: 0.9591 MB / 1.289 GB, free: 14.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.222, allocations: 9.281 kB / 1.289 GB, free: 14.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002827/1.225, allocations: 1.244 MB / 1.29 GB, free: 14.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.225, allocations: 6.438 kB / 1.29 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.225, allocations: 3.344 kB / 1.29 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/1.226, allocations: 93.81 kB / 1.291 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.227, allocations: 249.9 kB / 1.291 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.229, allocations: 1.546 MB / 1.292 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.23, allocations: 165.4 kB / 1.292 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.23, allocations: 52.72 kB / 1.293 GB, free: 13.35 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.0008114/1.231, allocations: 348.4 kB / 1.293 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.231, allocations: 119.1 kB / 1.293 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/1.235, allocations: 1.437 MB / 1.294 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.235, allocations: 15.97 kB / 1.294 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.235, allocations: 5.391 kB / 1.294 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.235, allocations: 7.859 kB / 1.294 GB, free: 13.03 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.006184/1.241, allocations: 2.889 MB / 1.297 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.241, allocations: 4 kB / 1.297 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.242, allocations: 223 kB / 1.297 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/1.243, allocations: 86.92 kB / 1.298 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.243, allocations: 32.86 kB / 1.298 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.245, allocations: 1.567 MB / 1.299 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.245, allocations: 0 / 1.299 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/1.248, allocations: 1.328 MB / 1.3 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/1.249, allocations: 376.6 kB / 1.301 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.249, allocations: 26.45 kB / 1.301 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.251, allocations: 112.3 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/1.251, allocations: 90.69 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.251, allocations: 55.33 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001087/1.252, allocations: 0.6142 MB / 1.302 GB, free: 10.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.252, allocations: 1.062 kB / 1.302 GB, free: 10.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001684/1.254, allocations: 0.4931 MB / 1.302 GB, free: 10.57 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.001677/1.255, allocations: 0.7237 MB / 1.303 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.258, allocations: 1.15 MB / 1.304 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.258, allocations: 2.438 kB / 1.304 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.259, allocations: 0.6806 MB / 1.305 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.262, allocations: 0.4925 MB / 1.305 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/1.267, allocations: 2.981 MB / 1.308 GB, free: 8.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/1.268, allocations: 1.213 MB / 1.309 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001777/1.27, allocations: 389 kB / 1.31 GB, free: 7.676 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/1.27, allocations: 134.3 kB / 1.31 GB, free: 7.668 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.27, allocations: 1.375 kB / 1.31 GB, free: 7.668 MB / 1.014 GB Notification: Performance of Templates: time 0.04379/1.314, allocations: 23.41 MB / 1.333 GB, free: 0.8711 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)