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.001204/0.001204, allocations: 89.97 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.01114/0.01114, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.481/1.481, 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.89/2.89, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 9.625 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3074, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2002/0.5077, allocations: 172.2 MB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6697/1.177, allocations: 12.67 MB / 1.255 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.179, allocations: 25.94 kB / 1.255 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/1.18, allocations: 385.1 kB / 1.255 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/1.183, allocations: 0.9223 MB / 1.256 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/1.187, allocations: 1.672 MB / 1.258 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003688/1.191, allocations: 2.871 MB / 1.26 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/1.193, allocations: 1.362 MB / 1.262 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/1.197, allocations: 1.156 MB / 1.263 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/1.199, allocations: 0.7323 MB / 1.264 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/1.199, allocations: 44.94 kB / 1.264 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/1.202, allocations: 1.413 MB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/1.202, allocations: 346.5 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/1.203, allocations: 0.7333 MB / 1.266 GB, free: 21.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/1.207, allocations: 2.666 MB / 1.269 GB, free: 21.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.207, allocations: 3.016 kB / 1.269 GB, free: 21.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/1.207, allocations: 0 / 1.269 GB, free: 21.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.155e-05/1.207, allocations: 0 / 1.269 GB, free: 21.77 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.003144/1.21, allocations: 1.698 MB / 1.27 GB, free: 20.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.21, allocations: 9.531 kB / 1.27 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/1.213, allocations: 421.8 kB / 1.271 GB, free: 20.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.214, allocations: 0.9892 MB / 1.272 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/1.215, allocations: 105.4 kB / 1.272 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/1.215, allocations: 132.5 kB / 1.272 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/1.218, allocations: 1.529 MB / 1.273 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/1.218, allocations: 6.062 kB / 1.273 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/1.218, allocations: 60.48 kB / 1.273 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.218, allocations: 33.59 kB / 1.273 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/1.221, allocations: 1.59 MB / 1.275 GB, free: 20.09 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.008416/1.229, allocations: 5.346 MB / 1.28 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.232, allocations: 1.527 MB / 1.282 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/1.233, allocations: 490.4 kB / 1.282 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/1.234, allocations: 434.1 kB / 1.283 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/1.235, allocations: 0.6997 MB / 1.283 GB, free: 16.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.025e-06/1.235, allocations: 0 / 1.283 GB, free: 16.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004723/1.24, allocations: 1.681 MB / 1.285 GB, free: 16.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/1.24, allocations: 195.5 kB / 1.285 GB, free: 16.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/1.241, allocations: 0.8961 MB / 1.286 GB, free: 16.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.242, allocations: 51.52 kB / 1.286 GB, free: 16.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/1.242, allocations: 0.5942 MB / 1.287 GB, free: 15.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.242, allocations: 356.5 kB / 1.287 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.243, allocations: 90.41 kB / 1.287 GB, free: 15.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.243, allocations: 347.5 kB / 1.287 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000918/1.244, allocations: 402.6 kB / 1.288 GB, free: 15.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.245, allocations: 0.582 MB / 1.288 GB, free: 15.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/1.247, allocations: 0.9588 MB / 1.289 GB, free: 14.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.247, allocations: 1.125 kB / 1.289 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002959/1.25, allocations: 1.247 MB / 1.29 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.25, allocations: 9.344 kB / 1.29 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.25, allocations: 2.812 kB / 1.29 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/1.25, allocations: 90.09 kB / 1.291 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.251, allocations: 252.8 kB / 1.291 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.254, allocations: 1.544 MB / 1.292 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.255, allocations: 165.9 kB / 1.292 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.255, allocations: 53.38 kB / 1.293 GB, free: 13.44 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.0008179/1.256, allocations: 348.6 kB / 1.293 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/1.256, allocations: 121.8 kB / 1.293 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/1.26, allocations: 1.443 MB / 1.294 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.26, allocations: 11.09 kB / 1.294 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.26, allocations: 4.344 kB / 1.294 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.26, allocations: 7.188 kB / 1.294 GB, free: 13.11 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.005363/1.265, allocations: 2.886 MB / 1.297 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.265, allocations: 0 / 1.297 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.266, allocations: 226.9 kB / 1.297 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/1.267, allocations: 84 kB / 1.298 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.267, allocations: 38.88 kB / 1.298 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/1.269, allocations: 1.567 MB / 1.299 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.269, allocations: 5.812 kB / 1.299 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/1.272, allocations: 1.324 MB / 1.3 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/1.272, allocations: 376.3 kB / 1.301 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/1.273, allocations: 31.64 kB / 1.301 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.274, allocations: 112.7 kB / 1.301 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.274, allocations: 86.52 kB / 1.301 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.274, allocations: 53.89 kB / 1.301 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001089/1.275, allocations: 0.6199 MB / 1.302 GB, free: 10.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.275, allocations: 0 / 1.302 GB, free: 10.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001716/1.277, allocations: 0.4952 MB / 1.302 GB, free: 10.64 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.001985/1.279, allocations: 0.7135 MB / 1.303 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002588/1.282, allocations: 1.156 MB / 1.304 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.282, allocations: 1.406 kB / 1.304 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.283, allocations: 0.6767 MB / 1.305 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.286, allocations: 495.4 kB / 1.305 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/1.29, allocations: 2.986 MB / 1.308 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009849/1.291, allocations: 1.21 MB / 1.309 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001661/1.293, allocations: 395.1 kB / 1.31 GB, free: 7.758 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/1.293, allocations: 135.9 kB / 1.31 GB, free: 7.75 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.293, allocations: 0 / 1.31 GB, free: 7.75 MB / 1.014 GB Notification: Performance of Templates: time 0.04055/1.334, allocations: 23.41 MB / 1.333 GB, free: 0.9414 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)