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.001202/0.001203, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 195.4 kB / 16.53 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7451 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65.06 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1923/0.4929, allocations: 176.8 MB / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6183/1.111, allocations: 12.81 MB / 1.253 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/1.113, allocations: 32.78 kB / 1.253 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.114, allocations: 473.1 kB / 1.254 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/1.117, allocations: 1.034 MB / 1.255 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004472/1.122, allocations: 1.855 MB / 1.257 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00473/1.126, allocations: 2.521 MB / 1.259 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/1.129, allocations: 1.603 MB / 1.261 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/1.134, allocations: 1.422 MB / 1.262 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/1.136, allocations: 0.8765 MB / 1.263 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007584/1.137, allocations: 172.4 kB / 1.263 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/1.141, allocations: 1.401 MB / 1.264 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/1.142, allocations: 487.7 kB / 1.265 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002812/1.145, allocations: 0.8801 MB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006747/1.152, allocations: 2.746 MB / 1.268 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.152, allocations: 0 / 1.268 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.152, allocations: 3.844 kB / 1.268 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001375/1.152, allocations: 0 / 1.268 GB, free: 5.289 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.006305/1.158, allocations: 2.022 MB / 1.27 GB, free: 20.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.158, allocations: 13.61 kB / 1.27 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/1.161, allocations: 410.3 kB / 1.271 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.164, allocations: 0.9837 MB / 1.272 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/1.164, allocations: 101.3 kB / 1.272 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/1.164, allocations: 135.6 kB / 1.272 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/1.168, allocations: 1.525 MB / 1.273 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/1.168, allocations: 5.312 kB / 1.273 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.168, allocations: 58.94 kB / 1.274 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/1.168, allocations: 34.02 kB / 1.274 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/1.172, allocations: 1.585 MB / 1.275 GB, free: 19.58 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.008868/1.18, allocations: 5.338 MB / 1.28 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/1.183, allocations: 1.516 MB / 1.282 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/1.184, allocations: 484.1 kB / 1.282 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/1.185, allocations: 427.6 kB / 1.283 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/1.186, allocations: 0.6978 MB / 1.283 GB, free: 16.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/1.186, allocations: 0.9688 kB / 1.283 GB, free: 16.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004619/1.191, allocations: 1.657 MB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.191, allocations: 197.1 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.192, allocations: 0.8905 MB / 1.286 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.192, allocations: 50.67 kB / 1.286 GB, free: 15.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.193, allocations: 0.5964 MB / 1.287 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/1.193, allocations: 356.7 kB / 1.287 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/1.193, allocations: 215.8 kB / 1.287 GB, free: 15.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.194, allocations: 356.5 kB / 1.288 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008239/1.194, allocations: 398.4 kB / 1.288 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/1.195, allocations: 0.5706 MB / 1.288 GB, free: 14.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.197, allocations: 0.9569 MB / 1.289 GB, free: 14.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.197, allocations: 3.406 kB / 1.289 GB, free: 14.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003173/1.201, allocations: 1.23 MB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.201, allocations: 7.844 kB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.201, allocations: 3.406 kB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/1.201, allocations: 90.52 kB / 1.291 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.202, allocations: 257.1 kB / 1.291 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.205, allocations: 1.648 MB / 1.293 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.206, allocations: 139.7 kB / 1.293 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.206, allocations: 58.48 kB / 1.293 GB, free: 12.91 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.000862/1.207, allocations: 351.3 kB / 1.293 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/1.207, allocations: 126.1 kB / 1.293 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/1.211, allocations: 1.421 MB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.211, allocations: 16.19 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.211, allocations: 1.031 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.211, allocations: 5.953 kB / 1.295 GB, free: 12.61 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.005144/1.216, allocations: 2.879 MB / 1.297 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.216, allocations: 5.094 kB / 1.297 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/1.217, allocations: 223 kB / 1.298 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/1.217, allocations: 73.42 kB / 1.298 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/1.217, allocations: 32.53 kB / 1.298 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/1.22, allocations: 1.675 MB / 1.299 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.22, allocations: 2.672 kB / 1.299 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/1.223, allocations: 1.321 MB / 1.301 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/1.223, allocations: 361 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.224, allocations: 26.53 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/1.225, allocations: 81.39 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.225, allocations: 83.16 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.225, allocations: 53.81 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008304/1.226, allocations: 0.6128 MB / 1.302 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.81e-07/1.226, allocations: 3.094 kB / 1.302 GB, free: 10.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001447/1.227, allocations: 0.4909 MB / 1.302 GB, free: 10.1 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.001589/1.229, allocations: 0.7018 MB / 1.303 GB, free: 9.883 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003544/1.232, allocations: 1.471 MB / 1.304 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.232, allocations: 3.688 kB / 1.304 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.234, allocations: 0.6705 MB / 1.305 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.236, allocations: 0.5379 MB / 1.306 GB, free: 9.555 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.24, allocations: 2.371 MB / 1.308 GB, free: 8.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/1.241, allocations: 1.212 MB / 1.309 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001587/1.242, allocations: 391 kB / 1.31 GB, free: 7.855 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/1.243, allocations: 138.8 kB / 1.31 GB, free: 7.848 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.243, allocations: 0 / 1.31 GB, free: 7.848 MB / 1.014 GB Notification: Performance of Templates: time 0.04111/1.284, allocations: 24.53 MB / 1.334 GB, free: 1.723 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)